QuantityEditorSpec Variable @beta
Editor specification for quantity values based on IModelApp.quantityFormatter.
Note: value provided to onChange might have mismatching displayValue and rawValue.
This can happen when input is invalid, some examples:
- input is not numeric. input
abc-> {displayValue: "abc",rawValue: undefined } - input is smaller than property constraints. input:
2 in, minimumValue is1 m-> {displayValue:2 in,rawValue: 1 } - input is larger than property constraints. input:
6 m, maximumValue is5 m-> {displayValue:6 m,rawValue: 5 }
Type
Default Value
...```
### Defined in
- <span class="defined-in"><a href="https://github.com/iTwin/appui/blob/7460253c0ef6dbe1bfa7ef9eaf8a58aa2eae7081/ui/imodel-components-react/src/imodel-components-react/inputs/new-editors/QuantityEditor.tsx#L35" target="_blank">ui/imodel-components-react/src/imodel-components-react/inputs/new-editors/QuantityEditor.tsx</a></span> Line 35
Last Updated: 15 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.