type
NumberField
Inclusive numeric bounds and presentation step.
Properties
| Property | Type | Description |
|---|---|---|
Min | *float64 | The Min value. |
Max | *float64 | The Max value. |
Step | *float64 | The Step value. |
How it works
Step is admin metadata, not a divisibility constraint.
Full signature
type NumberField struct {
Min *float64 `json:"min,omitempty"`
Max *float64 `json:"max,omitempty"`
Step *float64 `json:"step,omitempty"`
}