djhi/meteor-autoform-materialize

Select options disappear after validation error

serkandurusoy opened this issue · 3 comments

I have a form with a select that has a long (50+) list of options (loaded dynamically).

If I submit the form when there are validation errors, then only the first ~15 options stay visible while the other options disappear.

Looking into the dom, I can see that the original select options are still there, but the generated li options are missing the rest.

Fixed by manually reinitializing material selects, but I believe this should be a part of the theme, watching for changes in reactive autoform properties and values.

By the way, #58 actually fixes this.

#58 is merged. Close this issue.