Skip to content

Masked Field — PAM Native UI

PAM Native UI · Android evidence

p-masked-field rendered by the production retained-native pipeline. The specimen below is a real Android 16 (API 36) emulator candidate at 420 dpi, not an HTML recreation.

Android emulator candidate verified; physical Samsung approval pending
Family
Forms and editing
Module
masked-field
PHP facade
PMaskedField
Native targets
Android · UIKit

Forms and editing component rendered through the retained-native Android and UIKit pipeline.

Android specimen

p-masked-field running in the PAM Native UI Android catalog

Showcase profiles

Every profile below is rendered by the Android catalog route shown above.

  • Phone
  • Document
  • Focused
  • Error

PHP usage

use Pam\MobileUi\Material\PMaskedField;
use Pam\Native\UI\Text;

PMaskedField::make(
    [
        'accessibilityLabel' => "PMaskedField preview",
        'error' => true,
        'focused' => true,
    ],
    Text::make('Masked Field'),
);

The equivalent PAM template entry point is <p-masked-field>…</p-masked-field>.

See the PAM Native UI guide for event, state and styling conventions, and the quality contractfor native behavior requirements.

Component properties

PropertyObserved typeShowcase values
accessibilityLabelstring"PMaskedField preview"
errorbooltrue
focusedbooltrue
labelstring"Mobile phone", "CPF", "Phone"
modelValuestring"11987654321", "12345678901"
patternstring"(##) #####-####", "###.###.###-##"