National Number

A reusable validation component for Belgian national number input with built-in mask that formats the number in the pretty format similar to the one on Belgian ID cards

Examples

Basic usage

Properties

Name Type Required Description
@validationField string Yes The field name in the changeset for validation.
@changeset ImmerChangeset Yes The changeset object for form validation.
@label string No The label for the input field.
@placeholder string No The placeholder text for the input field.
@mandatory boolean No Whether the input field is mandatory.
@disabled boolean No Whether the input field is disabled.
@onChange function No The action to be called when the value changes.
@changeEvent string No The event to trigger the onChange action.