naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

Select All options

Open nasir-xel opened this issue 1 year ago • 1 comments

This function solves the problem (这个功能解决的问题)

I am working on a B2B application that has a lot of select options from which user can select multiple or all options. Sometimes the options can be pretty big for user to select them all one by one. So my client wanted to have an option to Select All instead of manual selecting as a better UX.

Expected API (期望的 API)

< Select :options="allUsers" enable-select-all />

nasir-xel avatar Sep 01 '22 07:09 nasir-xel

We need to consider about it.

07akioni avatar Sep 04 '22 14:09 07akioni

i've this request too, in the meantime i've archieved this with the action slot in the select https://www.naiveui.com/en-US/os-theme/components/select#action.vue and a checkbox, im happy to make a pull request to add this functionality if it can help to somebody :)

wrtisans avatar Nov 27 '22 19:11 wrtisans

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem

jahnli avatar Mar 12 '24 13:03 jahnli