Fields were being cleared when the clear form button is pressed but the actually form state isn't returned to it's initial state, i.e. with conditional logic applied.
Let me know if anyone's got some suggestions to avoid using this.$refs.vfg.$forceUpdate().
Screenshots
Before
After
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Improvement/refactoring (non-breaking change that doesn't add any features but makes things better)
Checklist
[ ] I've added relevant changes to the documentation.
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] My change requires a template update for create-ripple-app.
[ ] I have added template update script for next release.
Motivation and Context
JIRA issue: https://digital-vic.atlassian.net/browse/SDPAP-7784
Changed
Fields were being cleared when the clear form button is pressed but the actually form state isn't returned to it's initial state, i.e. with conditional logic applied.
Let me know if anyone's got some suggestions to avoid using
this.$refs.vfg.$forceUpdate()
.Screenshots
Before
After
Types of changes
Checklist