Interface: SecureInputPropsWithValidator
Hierarchy
↳
SecureInputPropsWithValidator
Properties
errorHandler
• errorHandler: ErrorHandlerCallback
Inherited from
BaseTokenizingComponentProps.errorHandler
Defined in
customMetadata
• customMetadata: CustomMetadata
Inherited from
BaseTokenizingComponentProps.customMetadata
Defined in
validator
• validator: "Email"
| "SSN"
| "EIN"
| "SSN_EIN"
The validator in the input you would like to run
Defined in
name
• Optional
name: string
Inherited from
BaseTokenizingComponentProps.name
Defined in
token
• Optional
token: string
a token to prefill the element with a secure value from a previous session
Inherited from
BaseTokenizingComponentProps.token
Defined in
placeholder
• Optional
placeholder: string
Defined in
Methods
onValidate
▸ onValidate(isValid
): void
Must pass onValidate() callback when a validator is specified. Use the callback to block the form from submitting and display user feedback.
Parameters
Name | Type |
---|---|
isValid | boolean |
Returns
void