CreativeIT / getmdl-select

Select for material-design-lite
http://creativeit.github.io/getmdl-select/
MIT License
301 stars 87 forks source link

Update field using attached MaterialTextfield object #18

Closed fmaylinch closed 8 years ago

fmaylinch commented 8 years ago

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.

franckevva commented 8 years ago

It looks more beautiful!) Thank you