Properties
Standard value component props
Property | Type | Description |
---|---|---|
value | number | (optional) Source data value for the input |
showEmpty | boolean | (optional) True to show the component even when the value is empty. |
label | string | (optional) Field label to show above / before the input feature |
placeholder | string | (optional) Text showing in place of the value if no value is given |
path | string | (optional) JSON Pointer for where the data for this input is located in the source dataset (when using DataContext) |
inline | boolean | (optional) True to show the value without any DOM elements surrounding it. I.e for putting it as part of a text. |
Component-specific props
Property | Type | Description |
---|---|---|
thousandSeparator | string | (optional) Character to use for separating every three digits. |
decimalSymbol | string | (optional) What character to use for separating digits and decimals. Defaults to ','. |
decimals | number | (optional) Max number of decimals. Values with more decimals will be rounded. |
fixedDecimals | number | (optional) Fixed number of decimals. Will round numbers with more decimals, and add trailing zeros when less. |
prefix | string | (optional) Text added before the value value. |
suffix | string | (optional) Text added after the value value. |