Skip to content

Currency Field — PAM Native UI

PAM Native UI · Android evidence

p-currency-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
currency-field
PHP facade
PCurrencyField
Native targets
Android · UIKit

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

Android specimen

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

Showcase profiles

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

  • BRL
  • USD
  • No cents
  • Error

PHP usage

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

PCurrencyField::make(
    [
        'accessibilityLabel' => "PCurrencyField preview",
        'decimalDigits' => 2,
        'error' => true,
    ],
    Text::make('Currency Field'),
);

The equivalent PAM template entry point is <p-currency-field>…</p-currency-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"PCurrencyField preview"
decimalDigitsint2, 0
errorbooltrue
labelstring"Investment", "Revenue", "Budget", "Amount"
localestring"pt-BR", "en-US"
modelValuestring"128450", "948025", "12000"
prefixstring"R$ ", "$ "