Skip to content
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

DS-Form @input not emmitted #46

Closed
roschaefer opened this issue Mar 13, 2019 · 3 comments · Fixed by #83
Closed

DS-Form @input not emmitted #46

roschaefer opened this issue Mar 13, 2019 · 3 comments · Fixed by #83
Assignees
Labels
bug Something isn't working

Comments

@roschaefer
Copy link
Contributor

The documentation clearly says if the user inputs data, it should trigger the @input callback. Unfortunately @input is called on submit and reset but not on user input.

Screenshot (37)

@roschaefer roschaefer added the bug Something isn't working label Mar 13, 2019
@roschaefer roschaefer changed the title DS-Form @input not emmited DS-Form @input not emmitted Mar 13, 2019
roschaefer added a commit to Human-Connection/Nitro-Web that referenced this issue Mar 13, 2019
cc @appinteractive

We're trying to cross-validate two form fields and don't know how.
We (ie. @Kachulio1, @aonomike, myself) gave up after
we discovered Human-Connection/Nitro-Styleguide#46
@appinteractive
Copy link
Member

As far as I can tell that’s intended to have the comparison between submits. Why not looking in the model data?

@roschaefer
Copy link
Contributor Author

@appinteractive the formData data is not updated. The validations are run, obviously because I can see red validation error messages, yet the @input callback is not called until I hit submit. We wan't to do cross-validation before submit.

@appinteractive
Copy link
Member

I will take a look 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants