This commit is contained in:
@@ -32,9 +32,10 @@ FIX:
|
||||
- DONE whole object ones at top
|
||||
- Server form validation errors cleared in individual inputs upon any change to them (but form overall ones stay until submitted)
|
||||
- ###### HERE!!!!!!!!
|
||||
- Current issue: can't seem to remove the error from the control
|
||||
- The code to remove the server error from the data works fine, however it doesn't update the control and remove the server error until I edit any field to trigger validation again
|
||||
- Possible solutions:
|
||||
- Current issue: Found a way to trigger clearing but
|
||||
- does it cause excessive re-validation??
|
||||
- Remove server errors entirely if they were only related to the fields that are now removed from the details collection
|
||||
- NOT NEEDED? - Possible solutions to old problem of not removing old server validation msgs:
|
||||
- LAST DITCH BEFORE ABANDONING THIS SYSTEM: Try making the whole form validate in the component and separately in gzvalidate
|
||||
- Move all server errors to the server error box and don't put them into the fields local validation errors (keep the two separate and try to avoid as many server errors as possible)
|
||||
- This might make sense since in reality we should almost never see a server error for a field unless a complex business rule is being broken or something, low level validation should handle it at the form level
|
||||
|
||||
Reference in New Issue
Block a user