Class: UppercaseTextInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:131
Format for a plain string that when parsed is transformed into uppercase characters.
Implements
FormatterValidator
<string
>
Constructors
Constructor
new UppercaseTextInputFormat(
nullValueDisplay
,maxLength?
,minLength?
):UppercaseTextInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:133
Parameters
Parameter | Type | Default value |
---|---|---|
nullValueDisplay | string | '' |
maxLength? | number | undefined |
minLength? | number | undefined |
Returns
UppercaseTextInputFormat
Inherit Doc
Properties
format
format:
FormatterFunction
<string
>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:137
Inherit Doc
Implementation of
FormatterValidator.format
nullValueString
nullValueString:
string
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:138
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:135
Parameters
Parameter | Type |
---|---|
input | string |
Returns
null
| string
| Promise
<null
| string
>
Inherit Doc
Implementation of
FormatterValidator.parse