Skip to content

Commit

Permalink
FIO-8993: fixed component validation message (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-formio authored Sep 10, 2024
1 parent 2ce8251 commit bcee9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/angular-formio/src/FormioBaseComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ export class FormioBaseComponent implements OnInit, OnChanges, OnDestroy {
components.forEach((comp) => comp.setCustomValidity(messageText, true));
this.alerts.addAlert({
type: 'danger',
message: message[index],
message: Array.isArray(message) ? message[index] : message,
component,
});
shouldErrorDisplay = false;
Expand Down

0 comments on commit bcee9bd

Please sign in to comment.