All notable changes to nova-phone-field
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- PhoneNumber field can now be
copyable
by @JamesHemery and @ch-hamzzyy in #8 and #4 - PhoneNumber field can now show
helper
text by @JamesHemery in #8 - Upgrade to inputmask 5 (fixes copy/paste and indicator change problems) by @JamesHemery in #8
- Replaced PHPCS by Laravel Pint by @JamesHemery in #8
Values are now stored in E.164 format. Previously, the formatted value was stored, which later caused problems for usage.
Now with the E.164 format, you can use the phone number directly. We use libphonenumber-js to format it on the Index and Detail of your resources.
To replace previously saved values you can use this query :
UPDATE _table_ SET _field_=CONCAT('+', REGEXP_REPLACE(_field_, '\\D', ''))
- @ch-hamzzyy made their first contribution in #5
Full Changelog: https://github.com/YieldStudio/nova-phone-field/compare/1.0.1...2.0.0
Full Changelog: https://github.com/YieldStudio/nova-phone-field/compare/1.0.0...1.0.1
- Fix +33 (French number) mask
- Initial release following the fork of bissolli/nova-phone-field
- Laravel Nova 4 compatibility