gcds-components
gcds-components copied to clipboard
feat: Searchable/Filterable Select Box
Prerequisites | Prérequis
- [X] I've read the Contributing Guidelines. | J’ai lu les Lignes directrices sur les contributions.
- [X] I agree to follow the Code of Conduct. | J’accepte de me conformer au Code de conduite.
- [X] I've searched for existing issues that already report this problem, without success. | J’ai vérifié parmi les tickets (issues) existants que ce sujet n’avait pas déjà été soumis.
Describe the feature request. | Décrivez la fonctionnalité demandée
It would be interesting to have a select component that can be filtered/search to help find when an option when there are a lot of them.
For an application, I created one that mimics the style of a gcds-select:
You can click on the option with the mouse, and use the arrow keys to go up and down to select an option
Describe the use case. | Décrivez les cas d’utilisation
It would be interesting to have a select component that can be filtered/search to help find when an option when there are a lot of them.
Describe the preferred solution. | Décrivez la solution souhaitée
No response
Describe all alternatives. | Décrivez toutes les solutions possibles
No response
Provide related code or examples. | Fournissez du code ou des exemples pertinents
No response
Add other relevant resources. | Ajoutez toute autre ressource utile
No response
We built one in Vue on top of vue multiselect (https://vue-multiselect.js.org/), it's a pretty good starting point.