After having some problems updating MDL elements I discovered that MDL elements come with an attached JS object that handles common update cases (takes care of CSS class changes).
I didn't find the official docs about that. If you find them let me know.
This is an improved solution to https://github.com/CreativeIT/getmdl-select/pull/17
After having some problems updating MDL elements I discovered that MDL elements come with an attached JS object that handles common update cases (takes care of CSS class changes).
I didn't find the official docs about that. If you find them let me know.
Here's the MaterialTextfield class, for example.