Skip to main content

Class: TextInputFormat

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:142

Format for a plain string.

Implements

Constructors

Constructor

new TextInputFormat(nullValueDisplay, maxLength?, minLength?): TextInputFormat

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:144

Parameters

ParameterTypeDefault value
nullValueDisplaystring''
maxLength?numberundefined
minLength?numberundefined

Returns

TextInputFormat

Inherit Doc

Properties

format

format: FormatterFunction<string>

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:148

Inherit Doc

Implementation of

FormatterValidator.format


nullValueString

nullValueString: string

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:149

The string to show when a value is null

Implementation of

FormatterValidator.nullValueString


parse()

parse: (input) => null | string | Promise<null | string>

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:146

Parameters

ParameterType
inputstring

Returns

null | string | Promise<null | string>

Inherit Doc

Implementation of

FormatterValidator.parse