fix(Table): fixed row deletion bug on deselect (#425)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
John Puaoi Tech
2023-07-18 00:52:53 -10:00
committed by GitHub
parent 0ea1f310a9
commit 46b444a3e0
2 changed files with 23 additions and 5 deletions

View File

@@ -327,9 +327,7 @@ const selected = ref([people[1]])
You can use the `by` prop to compare objects by a field instead of comparing object instances. We've replicated the behavior of Headless UI [Combobox](https://headlessui.com/vue/combobox#binding-objects-as-values).
::
### Clickable
Add a `select` listener on your Table to make the rows clickable. The function will receive the row as the first argument.
You can alsso add a `select` listener on your Table to make the rows clickable. The function will receive the row as the first argument.
You can use this to navigate to a page, open a modal or even to select the row manually.