Open jpic opened 6 years ago
You can use the classes option in the Select plugin to pass classes to the select-wrapper. Currently there is no way to pass classes to the input, but you can style accordingly from the select-wrapper class
@acburst are you sure that this shouldn't be the default behaviour according to material guidelines ?
This is a huge limitation for me when using Vue since I can't bind a dynamic class to the input element using single file component templates.
Custom jQuery and vanilla JS code I've created to fix this issue for my own projects. Both work like a charm, but it would be fantastic to get proper validation similar to this on the actual framework source code.
@TravelTimN probably not happening, this package is not maintained:
Instanciate a materialize select and it will not port the "invalid" class from the select to the created input element: Resulting in: Instead of: