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