Search...
value
Sets or gets the value in the dashboard number input field.
Description
To reset the element's value, set value
to null
or undefined
.
Note: Changing an element's value in code does not trigger an onChange event.
Type:
numberRead & Write
Was this helpful?
Get a dashboard number input field's value
Copy Code
1let myValue = $w('#myElement').value; // 1
Set a dashboard number input field's value
Copy Code
1$w('#myElement').value = 1;