vue-good-table
vue-good-table copied to clipboard
Checkbox - Single result should not show a checkbox
Issue Type (delete the irrelevant ones)
- [x] Question
Specs
What version are you using? 2.19.3
What browser? Chrome 90.0.4430.85 (Official Build) (x86_64)
Expected Behavior
What did you expect to happen? When there's only one result, checkbox should not show.
Actual Behavior
What actually happened? When there's only one result, a checkbox is available to click. Checkboxes should only be used in multiple selection cases.
Hi, I'm not sure it should not be implemented in the lib as it is a specific behavior.
But you can easily do something like :select-options="{enabled: rows.length > 1}"