API reference
@salmonui/inputs/masked-field
9 exported symbols: 1 component, 2 functions, 4 interfaces and 2 types. Each name links its page with the signature, docs and members.
import { … } from '@salmonui/inputs/masked-field';Components
MaskedFieldText input with an input mask. The visible input carries the masked text; a hidden input with name submits the raw or masked value. ref is the visible input.
Functions
formatMaskedThe masked text of a raw value.parseMaskCompiles a mask; results are cached per mask string when no tokens are given.
Interfaces
MaskMaskSlotMaskedChangeDetailsSecond argument of onValueChange.MaskedFieldProps
Types
MaskTokensMaskedFieldLocaleTextUser-visible strings: incomplete is the constraint message.