marcelodolza / iziModal

Elegant, responsive, flexible and lightweight modal plugin with jQuery.
http://marcelodolza.github.io/iziModal/
Apache License 2.0
2.16k stars 285 forks source link

Combobox value being reseted #226

Open rmadeiraneto opened 5 years ago

rmadeiraneto commented 5 years ago

with version v1.4.2 is working fine, but with the latest version, when changing a combobox inside the modal, the selected value is reseted and therefor always '0' or default

so I have a combobox inside one of the modals. with a previous version I select a value, have an onChange script, it process the value, everything works just fine. Now I've updated the version of iziModal to the latest version and the value of the combobox processed by the onChange script is always '0' (default value). I've tested and retested, When I use the latest script it's always broken, when I use the old version script it always work. And the rest of the plugin works fine with the latest version.

p.s: congrats and keep up the good work

thank you, Ricardo M.

rmadeiraneto commented 5 years ago

Actually I think it's a problem with onChange events in general. Had another case with a checkbox inside a modal and it doesn't even run the onChange event of the checkbox