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

feature/1786 - Fixed issue with interest rate and due date being cleared when loaded from backend #2386

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

sasha-dresden
Copy link
Contributor

Issue FECFILE-1786

Issue was that we were clearing the due date and interest rate fields when the corresponding setting field changed. Which is what we normally want now. However this was also happening on load from the backend.
Added a new component variable clearValuesOnChange which is always true except for when loading data from backend.

I also cleaned up the code to make it a bit easier to work with by making some getters and setters for the fields and field values.

And one other thing I noticed, there was bit of a wierd blip in validation with the secured radio button. Since it was validating on blur, you would click the button, and then briefly see a required validation when you blurred away. Added it to the onChange list, which I imagine all radio button inputs probably should be validating on change rather than blur.

@toddlees toddlees merged commit 6195623 into develop Nov 21, 2024
4 checks passed
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