New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selectize does not inherit classes from original input/select #18
Comments
I'm not on my MacBook at the moment, but I believe this can be achieved by the following: var classes = [];
classes = this.$input.attr('class').split(/\s+/);
this.$input.attr('css', classes.join(' ')); I've chosen to split the classes into an array just incase, it'd be slightly faster to return them as a string, rather than joining them but it's a choice. Since I'm not on my MacBook I can't |
I can do that. But I think that the classes must go to the generated div right? |
Maybe this could be an option and not a must... Copying select class to the div can cause style crashes also... |
Move multiple filter spacing from margin-left to margin-right so that…
In our grid layout we give elements
span*
classes, similar to that of Bootstrap. Our originalselect
element includes one of these so that we can create a nice and neat form layout.When you apply Selectize however to the elements, the new element doesn't include any classes or original markup. Similar to the problem in #13.
The text was updated successfully, but these errors were encountered: