An input field designed to collect a signature and store it as an image. The component supports required fields validation.
name
string
Component name
value
Current component value
valid
boolean
Indicates if the component is valid
validating
Indicates if the component is validating
reset
β
void
Reset component to the initial value
validate
Trigger component validation
resetValidation
Clear validation errors
setErrors
errors: string |
string[] | null
Mark the component as invalid and display errors
setRequired
required: boolean
Set component required state
On Change
Triggered when the component's state changes
On Submit
Triggered when the component's value is submitted
On Focus
Triggered when the component is in focus
On Blur
Triggered when the component loses focus
On Clear
Triggered when the clear button is clicked
On Init
Triggered when the component is initialized
Last updated 5 months ago
Was this helpful?