IListFormDecimalNumberProps
@spartanfx/react / spfx / IListFormDecimalNumberProps
Interface: IListFormDecimalNumberProps
Props for the ListFormDecimalNumber component.
Extends IListFormFieldRendererProps to provide support for rendering
and managing a decimal number input field in a SharePoint list form.
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
controlProps? | any | Props passed directly to the underlying field control. | IListFormFieldRendererProps.controlProps |
disabled? | boolean | Whether the field is disabled. Overrides form-level settings. | IListFormFieldRendererProps.disabled |
field | IFieldInfo | The SharePoint field definition object. | IListFormFieldRendererProps.field |
formStateKey | string | The key used in the form state object, matching the field's internal name. | IListFormFieldRendererProps.formStateKey |
listFormContext | IListFormContext | The full list form context for accessing state, validation, etc. | IListFormFieldRendererProps.listFormContext |
numberOfDecimalPlaces | number | Number of decimal places to allow and enforce in the input field. | - |
onChange? | (newValue, oldValue?) => void | Optional callback triggered when the field value changes. | IListFormFieldRendererProps.onChange |
readonly? | boolean | If true, renders the field in readonly mode without user interaction. | IListFormFieldRendererProps.readonly |
required? | boolean | Whether the field is required. | IListFormFieldRendererProps.required |