Skip to main content
cngx-src documentation

withMaskGuide

Functionforms/input

projects/forms/input/input-config.ts

Description#

Sets the global guide mode for CngxInputMask. Library default is true.

  • true: placeholder characters fill unfilled slots and the cursor snaps to the next empty slot on focus.
  • false: a bare mask showing only typed characters and their literals.
  • Resolution order: [guide] input, then config.maskGuide, then true.
provideInputConfig(withMaskGuide(false));

Signature#

withMaskGuide(guide: boolean)

Parameters#

@paramguideboolean

Returns#

InputConfigFeature