Open bhantol opened 8 years ago
Most of these remarks should be issues on the Selectize control (which isn't much maintained nowadays). Particularly the issue with the placeholder, which has already an issue on the Selectize project: https://github.com/selectize/selectize.js/issues/851
There are all sorts of things not desirable the way the HTML is generated with respect to the how it generates the element.
form-horizontal container-fluid
This particular one may be a defect in the underlying selectize component. however the defect may be that the style and other attributes like name etc are not passed to the generated markup. See next point.width: 100%;
becomeswidth: 77px;
it calculates in my case 77px which is not enough to show the place holder.name=
. Although I see the ng-valid etc classes on the selectize element the form is firing validation for formField that is undefined.<input>
element still leaves the element hanging there with merelydisplay: none;
which messes up validations.Using selectize as an element
Using selectize as an attribute
This generates following markup at runtime when targeted as element selectize (vs attribute)