MaskInput
A text input that formats as you type to a pattern, keeps paste and IME composition working.
beta
Examples
Live examples for this component are on the way.
API
import MaskInput from '@tcpsystems/ui/foundation/MaskInput';| Prop | Type | Default |
|---|---|---|
mask? | string | '' |
value? | string | $bindable('') |
raw? | string | $bindable('') |
describedby? | string | none |
invalid? | 'true' | 'false' | boolean | none |
placeholder? | native | none |
| Hook | Kind |
|---|---|
.tcp-input | Root class |
data-mask | Data attribute |