Range min, max, step can be dynamically set by mathjs and variables
Status
Release Available | Status | Framework Name |
---|---|---|
2.8.1 | Current | TBC |
General
Range min
, max
, step
can be dynamically set by mathjs
and variables.
Code JSON
Copy
{ "fieldName": "loanAmount", "fieldUi": {...} },
{
"fieldName": "payment",
"fieldUi": {
"fieldType": "range",
"label": "Monthly Payment",
"rangeOptions": {
"dataType": "currency",
"min": "@mathjs{$this.attr(loanAmount); / 24};",
"max": "@mathjs{$this.attr(loanAmount); / 12};",
"editableRangeValue": true
},
"settingsOptions": { "minimumFractionDigits": 0 },
"format": {...}
} }