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 =
10711071 };
10721072```
10731073
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:
10751075``` ts
10761076new DynamicInputModel ({
10771077 id: " sampleInput" ,
@@ -1080,6 +1080,7 @@ new DynamicInputModel({
10801080 errorStateMatcher: myCustomErrorMessagesMatcher
10811081 }
10821082 }),
1083+ ```
10831084
10841085Please note here that NG Dynamic Forms always assumes both the control being invalid and error messages being defined on the model
10851086as a fixed precondition.
You can’t perform that action at this time.
0 commit comments