Commit Graph

6 Commits

Author SHA1 Message Date
formsdev f7ecd6f233
Phone input prefill country issue fixed (#213)
* fix prefill phone issue

* js phone parse fixes

* revert last change

* fix phone UI

* Code optimize

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-10-03 17:50:46 +02:00
Julien Nahum 54f92f844f Fix phone validation 2023-10-01 09:43:14 +02:00
Julien Nahum ae41af4f0e More precise phone number validation 2023-09-23 11:42:22 +02:00
formsdev 4c56e8ba85
Phone Input - option for simple text input (#207)
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-20 12:14:08 +02:00
formsdev d75975bdec
Fix phone input (#201)
* Fix phone input

* remove extra

* fix factory

* Fix phone input

* Validate phone number rule

* Prefill support for country only

* Fix phone input error

* fix tests

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-18 15:12:05 +02:00
Sutirtha Bharati Das a53677d2ed
ENH: Phone Input Component (#189)
* #170-ENH: Created custom dropdown phone input

* #170-ENH: Added phone_number rules

* #170-ENH: Added phone_number rules

* #170-ENH: Added separate Rule for phone number input, starting 0 phone number is ignored, added regex to ignore non digit phone input

* #170-ENH: Removed global registration of CountryFlag

* #170-ENH: Using VSelect component for country selection, added prop for dropdown styling

* #170-ENH: Updated phone number rule

* #170-ENH: Added margins to country selector

---------

Co-authored-by: Sutirtha <sdas@republicfinance.com>
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-12 10:13:10 +02:00