github ysfkaya/filament-phone-input v4.2.4

latest release: v4.2.5
10 hours ago

What's Changed

Fixed

  • countryStatePath() no longer overrides an explicitly set inputNumberFormat() (#118).
    Previously, using countryStatePath() forced the stored number into NATIONAL format even
    when another format was configured. Now an explicit inputNumberFormat() always wins:

    PhoneInput::make('mobile')
        ->countryStatePath('country_code')
        ->inputNumberFormat(PhoneInputNumberType::E164) // now respected — stores +61411xxx123

The default behavior is unchanged for backwards compatibility: if no format is set,
numbers are still stored in NATIONAL format when a country state path is used.

  • inputNumberFormat() no longer throws when passed a Closure.

Full Changelog: v4.2.3...v4.2.4

Don't miss a new filament-phone-input release

NewReleases is sending notifications on new releases.