- fix LabeledSelect component when removing tagged elements
- remove onClickOption to avoid duplicate update:value emit from LabeledSelect.vue and Select.vue
- fix Select component when removing tagged elements
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
* Fix select controls do not close when clicking on arrow
* Rebase
* Control vue-select state via labeledSelect
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Control vue-select state via Select.vue
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Set isOpen to false when select closes
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Move focus back to select wrapper on close
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Defer more select open state logic to wrapper
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Close when no selection is made
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Allow for multiselect
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Fix failing e2e test
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
---------
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* Simplify spacebar prevent behavior when focusing LabeledSelect
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Fix unit test
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Simplify spacebar prevent behavior when focusing Select
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
---------
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* fix a few components for a11y + add unit tests related to a11y
* fix issues with sr output for banners settings with ColorInput and RadioGroup + update unit tests + fix lint issues
* fix lint issue
* fix issue with labeledSelect in mode multiple by allowing the binding of the attribute to the element v-select
* Add test for component to emit the correct value as array
---------
Co-authored-by: cnotv <giuseppe.leo@suse.com>
* remove labeledselect ability to detect stale option labels in order to improve performance
* add key rerender hack to fix psa dropdown option labels not refreshing
* fix lint
* imrpove labeledSelect getOptionLabel performance when options are strings
* refactor labeledselect getOptionLabel and write test
* remove redundant if block in ls getOPtionLabel
* refactor getUpdatedOption