Search.../

min

Sets or gets the minimum allowed number value.

Description

Set to null or undefined to remove the minimum allowed value.

Type:

numberRead & Write

Was this helpful?

Get the minimum allowed input

Copy Code
1let myMin = $w('#myNumberInput').min; // 10
Set the minimum allowed input

Copy Code
1$w('#myNumberInput').min = 10;
Remove the minimum limit on input

Copy Code
1$w('#myInput').min = null; // No minimum