This PR introduces enhancements to the validator function in the intl_phone_field library, providing developers with greater flexibility and improved validation capabilities.
Changes
Support was added for custom validator functions to be passed as parameters. This allows developers to define their validation logic based on specific requirements
Enhanced error handling within the validator function to provide more descriptive and user-friendly error messages
Impact:
These changes are backward compatible. Existing implementations of the IntlPhoneField will continue to work without modification, while new and existing projects can take advantage of the enhanced validation features
Please review the changes and provide any feedback or suggestions. These enhancements will significantly improve the flexibility and usability of the intl_phone_field library. Thank you for your time and consideration.
Summary:
This PR introduces enhancements to the validator function in the intl_phone_field library, providing developers with greater flexibility and improved validation capabilities.
Changes
Impact:
These changes are backward compatible. Existing implementations of the IntlPhoneField will continue to work without modification, while new and existing projects can take advantage of the enhanced validation features