You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joshua-Lakusta
changed the title
Bug - unexpected error for SIN validation screen when you try to submit
Bug - unexpected error for SIN change and manual validation screen when you try to submit
Jul 31, 2024
## Issue
The optional checkbox to `Skip the validations` returns `undefined`
(When not touched) and `null` (on form reset) which is considered as bad
request as the API is expecting a boolean value for `skipValidations`.
## Solution
- [x] Initialize the form-model with `skipValidations` as `false`.
- [x] On the event of model value being updated, convert the input value
to boolean using the event `update:model-value`.
## Minor Refactor
- [x] Removed the call to `resetValidation()` as it has no impact after
`reset()` is called.
![image](https://github.com/user-attachments/assets/d17fd370-0d7f-478d-99e4-728495be3cff)
Describe the Bug
Some SIN numbers are triggering an unexpected error when we attempt to manually add them in the ministry portal.
Expected Behaviour
Be able to add the SIN with no errors
Actual Behaviour
What actually happened is that the system kicked back a unexpected error message in the top right
** Steps To Reproduce**
Steps to reproduce the behaviour:
New photo as of 2024-10-22
The text was updated successfully, but these errors were encountered: