Closed
Description
If the original element is required
, Selectize will correctly copy the property. If the user doesn't fill in the field and tries to submit the form, then the browser will try to focus the field to alert the user to their error.
Selectize doesn't seem to respond to this, resulting in a console error of An invalid form control with name='input_name' is not focusable.
It seems that the browser (at least Chrome) won't (correctly) send focus
to hidden elements, so really Selectize needs to remove the required
property from hidden fields and respond to a focus
event.
Metadata
Metadata
Assignees
Labels
No labels