Signature
Overview
An input field designed to collect a signature and store it as an image. The component supports required fields validation.

Properties
name
string
Component name
value
string
Current component value
valid
boolean
Indicates if the component is valid
validating
boolean
Indicates if the component is validating
Methods
reset
–
void
Reset component to the initial value
validate
–
void
Trigger component validation
resetValidation
–
void
Clear validation errors
setErrors
errors: string |
string[] | null
void
Mark the component as invalid and display errors
setRequired
required: boolean
void
Set component required state
Triggers
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
Was this helpful?