File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1071,7 +1071,7 @@ export const DEFAULT_ERROR_STATE_MATCHER: DynamicErrorMessagesMatcher =
1071
1071
};
1072
1072
```
1073
1073
1074
- You can also set an error matcher on a per control basis by adding under the ` additional ` field:
1074
+ You can also set an error matcher on a per control basis by assigning it under the ` additional ` field:
1075
1075
``` ts
1076
1076
new DynamicInputModel ({
1077
1077
id: " sampleInput" ,
@@ -1080,6 +1080,7 @@ new DynamicInputModel({
1080
1080
errorStateMatcher: myCustomErrorMessagesMatcher
1081
1081
}
1082
1082
}),
1083
+ ```
1083
1084
1084
1085
Please note here that NG Dynamic Forms always assumes both the control being invalid and error messages being defined on the model
1085
1086
as a fixed precondition.
You can’t perform that action at this time.
0 commit comments