Problemunvalidated
Validation errors set inside the onSave/submit handler are not reflected in formMethods.formState.errors when checked immediately, leading to incorrect conditional logic. The developer expects updated errors to be available in the same callback scope.
4a72aa6a-7cc9-4936-be02-441f6856fed6
Validation errors set inside the onSave/submit handler are not reflected in formMethods.formState.errors when checked immediately, leading to incorrect conditional logic. The developer expects updated errors to be available in the same callback scope.