You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into a similar issue with elements I am trying to use Selectize on, when switching tab views or wizard views they go back to unstyled selects because the jQuery call is running before the elements are rendered.
+1, I think this makes sense. I need to think a bit more as to whether it's safe enough to move when the callback is called vs adding a second callback, but I can't think of a great reason to keep it where it is.
FWIW, you could also do the validation inside a setTimeout, but that sucks too.
I'm trying to validate a form within a view when it is displayed. But the
onActive
event is triggered before the view has been attached to the page.Ideally I'd like to do something like this.
But I've had to do something like this.
The text was updated successfully, but these errors were encountered: