If I run getmdlSelect.init('.getmdl-select'); again I get a correct width but not what I want, because I want the default 300px of .mdl-textfield (or whatever I would like to set in my CSS).
I would add an option to enable that line, like a new class getmdl-select-autowidth.
Anyway, if you enable that line, it seems that it may get 0px like in my case.
In getmdl-select.js:34 I get width 0px so elements are not visible.
If I run
getmdlSelect.init('.getmdl-select');
again I get a correct width but not what I want, because I want the default 300px of.mdl-textfield
(or whatever I would like to set in my CSS).I would add an option to enable that line, like a new class
getmdl-select-autowidth
.Anyway, if you enable that line, it seems that it may get 0px like in my case.