Mobile

A reusable validation component for mobile phone numbers with country prefix support (Luxembourg, Germany, Netherlands, Belgium, France) and integrated error handling

Examples

Basic usage

Minimum 10 characters

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.