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

Fix a bug in Reset #43

Merged
merged 1 commit into from
Dec 5, 2018
Merged

Conversation

crcornwell
Copy link
Contributor

What does this pull request do?

This PR fixes a bug in the Reset functionality, where the handler would ignore the variant it received and reset the entire form instead of just the specific field the user was attempting to reset.

Where should the reviewer start?

Ignore the whitespace changes and just examine the Reset handler as well as the reset and reset_ helper functions.

How should this be manually tested?

Run a local web server after compiling the examples and check that in the real-world example, changing the Admin value now correctly only clears the two secret key fields and not the entire form.

@thomashoneyman thomashoneyman self-assigned this Dec 5, 2018
@thomashoneyman
Copy link
Owner

Thanks!

@thomashoneyman thomashoneyman merged commit 3448316 into thomashoneyman:master Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants