Skip to content

Commit c14b085

Browse files
authored
Merge pull request #1425 from mdomarus/update-validators-documentation
Update documentation: number value validation example
2 parents c45195b + 7cfed4c commit c14b085

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-renderer-demo/src/pages/schema/number-value-validator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { validatorTypes } from '@data-driven-forms/react-form-renderer';
1717

1818
{
1919
type: validatorTypes.MIN_NUMBER_VALUE,
20-
threshold: 5
20+
value: 5
2121
}
2222
```
2323

@@ -31,7 +31,7 @@ import { validatorTypes } from '@data-driven-forms/react-form-renderer';
3131

3232
{
3333
type: validatorTypes.MAX_NUMBER_VALUE,
34-
threshold: 5
34+
value: 5
3535
}
3636
```
3737

0 commit comments

Comments
 (0)