Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ Constraints can be set in the field definition, or by using the
[setConstraints](/reference/classes/FieldNumber#setconstraints)
function.

By default, number fields accept infinite values. Users can enter
`Infinity` or `-Infinity` (the case doesn't matter, so `infinity` and
`-infinity` work too). If you don't want your field to accept infinity,
set the `min` and `max` constraints. Values outside that range,
including infinite ones, are clamped to the nearest limit.

### Minimum value

The `min` value sets the smallest/most-negative value the field is allowed to
Expand Down
Loading