Skip to content

Commit

Permalink
#1972 Resolve Error message during validations in Common Properties (#…
Browse files Browse the repository at this point in the history
…1973)

Signed-off-by: srikant <srksriks123@gmail.com>
Co-authored-by: Matt Howard <matthoward366@users.noreply.github.com>
  • Loading branch information
srikant-ch5 and matthoward366 authored May 23, 2024
1 parent 374f6cd commit 486bbfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ function _validateInput(propertyId, controller, control, showErrors) {
if (isError) {
errorSet = true;
}
} else if (!isError && !errorSet) {
} else if ((!isError && !errorSet) || (!isError && errorSet)) {
const msg = controller.getErrorMessage(msgPropertyId, false, false, false);
if (!isEmpty(msg) && (msg.validation_id === errorMessage.validation_id)) {
controller.updateErrorMessage(msgPropertyId, DEFAULT_VALIDATION_MESSAGE);
Expand Down

0 comments on commit 486bbfa

Please sign in to comment.