You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For (query based) dropdown lists, if there are a lot of options, (un)selecting each one manually is very slow. Thus a "select all" and "unselect all" option would be helpfull.
I took a look in the code. the Select Component is based on antd, which itself does not support this feature. It was requested there too, but ultimately not implemented.
Community members have provided a custom solution, which I implemented here.
It works, but still has an error that I do not quite understand, since I have little knowledge about react (line 38 and 44).
For (query based) dropdown lists, if there are a lot of options, (un)selecting each one manually is very slow. Thus a "select all" and "unselect all" option would be helpfull.
I took a look in the code. the Select Component is based on antd, which itself does not support this feature. It was requested there too, but ultimately not implemented. Community members have provided a custom solution, which I implemented here. It works, but still has an error that I do not quite understand, since I have little knowledge about react (line 38 and 44).
For (query based) dropdown lists, if there are a lot of options, (un)selecting each one manually is very slow. Thus a "select all" and "unselect all" option would be helpfull.
I took a look in the code. the Select Component is based on antd, which itself does not support this feature. It was requested there too, but ultimately not implemented. Community members have provided a custom solution, which I implemented here. It works, but still has an error that I do not quite understand, since I have little knowledge about react (line 38 and 44).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
For (query based) dropdown lists, if there are a lot of options, (un)selecting each one manually is very slow. Thus a "select all" and "unselect all" option would be helpfull.
I took a look in the code. the
SelectComponent is based on antd, which itself does not support this feature. It was requested there too, but ultimately not implemented.Community members have provided a custom solution, which I implemented here.
It works, but still has an error that I do not quite understand, since I have little knowledge about react (line 38 and 44).
All reactions