Sets the global placeholder character CngxInputMask shows for unfilled slots in guide mode
withMaskPlaceholder
Functionforms/input
projects/forms/input/input-config.ts
Description#
Sets the global placeholder character CngxInputMask shows for unfilled
slots in guide mode. Library default is '_'.
- Resolution order:
[placeholder]input, thenconfig.maskPlaceholder, then'_'. - Sets the app-wide baseline for every masked input that does not bind its
own
[placeholder]. - Also fills the
aria-placeholderthe mask exposes.
provideInputConfig(withMaskPlaceholder('ยท')); // middle dot