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 form not acting correctly when config changes #64

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

Owen-Morgan825
Copy link
Contributor

Fixes:
When the config was edited, QRScout was reporting data based on the original config. (fixed by resetting the form after a config edit)
When the form reset after a config edit, values of inputs would change internally but the rendered input would not in inputs set to preserve their data on reset. (fixed by adding a "force reset" event that resets everything, regardless of it's supposed to be reset or not, since the form would have no reason not to reset after a config edit)

Copy link

PR Preview Action v1.6.0

🚀 View preview at
https://FRC2713.github.io/QRScout/pr-preview/pr-64/

Built to branch gh-pages at 2025-01-15 01:05 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@tytremblay tytremblay merged commit 7b3abba into main Jan 15, 2025
1 check passed
@tytremblay tytremblay deleted the fix-config-editing branch January 15, 2025 15:04
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