Table Both Selectable and Clickable
Hiya folks,
I'm using
UTable
with a v-model
which gives it checkboxes, making it selectable.
On the same table, I've also been using @click
to call a navigate function when the row is clicked.
Since UI v2.18.5
, clicking the checkbox to select the row calls the @click
navigation function.
Essentially I need the @click
to apply to the full row except for the checkbox.
I see this change was introduced in v2.18.5
with this pull request - my implementation was working before this.
Does anyone have any suggestions for this?
Please let me know if you need any more information.
Cheers,
FredGitHub
fix(Table): checkbox can emit the
@select
event by vanngoh · Pull...🔗 Linked issue
Resolves #2064
❓ Type of change
📖 Documentation (updates to the documentation or readme)
🐞 Bug fix (a non-breaking change that fixes an issue)
👌 Enhancement (improving an exist...
1 Reply
GitHub
Table Both Selectable and Clickable · Issue #2884 · nuxt/ui
Environment Operating System: Darwin Node Version: v20.12.2 Nuxt Version: 3.14.1592 CLI Version: 3.16.0 Nitro Version: 2.10.4 Package Manager: [email protected] Builder: - User Config: default Runtime Mod...