Skip to content

Commit 7cfed4c

Browse files
committed
Update number value documentation example
1 parent c45195b commit 7cfed4c

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)