Add tuiCreateLuhnValidator(customMessage?)
to control validators to validate it with Luhn algorithm
Name and description | Type | Value |
---|---|---|
[autocomplete] Browser autofill | boolean | |
[cardValidator] Custom card validator for moving focus to the next field | TuiBooleanHandler<string> | |
[codeLength] Code length | 4 | 3 | null |
[icon] Custom card icon | PolymorpheusContent | null |
[id] id attribute for input tags (adds _card , _expire and _cvc accordingly). Auto-generated when not provided. | string | |
[inputs] Toggle availability of inputs | TuiCardInputs | null |
[placeholder] Placeholder | string | |
(binChange) BIN value (card first 6 symbols) | null | string | |
ControlApplied as a host directive | ||
[readOnly] Readonly state
| boolean | |
[disabled] Disabled state (use formControl.disable()/.enable() for reactive forms)
| boolean | |
[invalid] Invalid state
| null | boolean | null |