CreativeIT / getmdl-select

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

Problem to clean the select #72

Closed RafaelPerezRamirez closed 6 years ago

RafaelPerezRamirez commented 6 years ago

I have a problem clean my select, when using the following function in query $('form input').val(''); all my inputs are cleaned except my getmdl-select I've tried it in several ways, removing the "selected" class, cleaning the input hidden from the select and nothing Help me :(

alexbananabob commented 6 years ago

@rafabrutaldrums, try to re-init getmdl-select after cleaning See Dynamically usage section