nice-select2
nice-select2 copied to clipboard
HTML5 validation broken
Unfortunately HTML5 validation is not working, if the initial select element has a required attribute, because it's hidden. The browser will fail with an error An invalid form control with name='fieldname' is not focusable.
Instead of hiding the element, we could apply a similar fix as described in https://github.com/Choices-js/Choices/issues/449.