Open zeezo887 opened 5 months ago
I think clearable
makes more sense, then we could show a clear button on the select input
There seems to be already what is needed on the VSelect component to make it work https://github.com/area17/twill/blob/3.x/frontend/js/components/VSelect/ExtendedVSelect.vue#L42-L44C7
But it seems it's not the component that is used https://github.com/area17/twill/blob/3.x/frontend/js/components/SingleSelect.vue
I implemented clearable instead as discussed. By default the Select field does use vue-select. It doesn't only if unpack
or native
are true.
Description
Allows the user to clear the selected option:
Related Issues
Fixes #2562