sdk.form.inputschema
Home > @matterway/sdk > Form > InputSchema
Form.InputSchema interface
Signature:
export interface InputSchema extends BaseFieldSchema, Pick<InputFieldProps, 'label' | 'placeholder' | 'readOnly' | 'defaultValue'>
Extends: BaseFieldSchema, Pick<InputFieldProps, 'label' | 'placeholder' | 'readOnly' | 'defaultValue'>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
props? | InputFieldProps | (Optional) Additional custom props for the field component like: label , required . | |
type | InputType | The type of form field used to edit this value. | |
validation? | DateValidation | NumberValidation | StringValidation | (Optional) An optional string or date or boolean validation property for the input. |