-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add validating
state during async validation
#63
Comments
Could you show me an example or walk me through your thought process? I know of several ways to do modals; I'm guessing in this case you used a lib that ran a callback? Another way I could think of would be putting the modal container inside the element itself so you could handle the close event manually. |
My modal function is as follow (simplified version): showBootstrapModal = function (template, data, onClose) It shows a modal based on a Meteor template and its data context. What I did:
(well, in fact I do all this through a modified version of the API described in #36) |
This is currently the best way to do anything async. One thing I will add to support this is what I first described in #36, the And I think if a form has |
validating
state during async validation
I have to say I cannot achieve async validation the way I want. I will postpone this to a later stage and find another way until then. This is not critical for me. I don't need a What is lacking right now is:
Maybe I am also facing an issue regarding content of |
Here is my use case: I created a form element which contains a "Change" button. When clicking this button, a modal dialog pops up, which allows user to choose among values. User choice is validated when user clicks OK to close the dialog.
With the current version of the package, I implemented this using async validation, as described in discussion #36. However here is a separate issue, in case some other ways will be preferred to support this use case.
The text was updated successfully, but these errors were encountered: