Skip to main content

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

PropertyModifiersTypeDescription
props?InputFieldProps(Optional) Additional custom props for the field component like: label, required.
typeInputTypeThe 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.