- Description:
This key defines the minimum numerical value CloudCannon will allow in an Input.
When configured, CloudCannon will prevent you from entering a lesser numerical value.
If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.
This key is required for
rangeinputs.Value can be any number.
If
options.maxis also configured, this key cannot be a greater number.This key has no default.
This key is available for Number Inputs.
- Appears in:
└── _inputs └── * ├── Number Input │ └── options │ └── min └── Range Input └── options └── min- Type:
number- Examples:
In this example, we want to add a rating out of five for each article in our travel blog using the
ratingInput. This Input limits you to a minimum rating of one.Copied to clipboard_inputs: rating: type: number comment: How highly did you rate this experience? options: max: 5 min: 1{ "_inputs": { "rating": { "type": "number", "comment": "How highly did you rate this experience?", "options": { "max": 5, "min": 1 } } } }