Skip to main content

Interface: SecureInputPropsWithValidator

Hierarchy

Properties

errorHandler

โ€ข errorHandler: ErrorHandlerCallback

Inherited from

BaseTokenizingComponentProps.errorHandler

Defined in

component-types.ts:28


customMetadata

โ€ข customMetadata: CustomMetadata

Inherited from

BaseTokenizingComponentProps.customMetadata

Defined in

component-types.ts:39


validator

โ€ข validator: "Email" | "SSN" | "EIN" | "SSN_EIN"

The validator in the input you would like to run

Defined in

component-types.ts:48


name

โ€ข Optional name: string

Inherited from

BaseTokenizingComponentProps.name

Defined in

component-types.ts:29


token

โ€ข Optional token: string

a token to prefill the element with a secure value from a previous session

Inherited from

BaseTokenizingComponentProps.token

Defined in

component-types.ts:31


placeholder

โ€ข Optional placeholder: string

Defined in

component-types.ts:51

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

NameType
isValidboolean

Returns

void

Defined in

component-types.ts:50