If the original `<select>` has an error state (has the `is-invalid` class) the error is not shown on the Select2 element.
If the original
<select>has an error state (has theis-invalidclass) the error is not shown on the Select2 element.