Coder Social home page Coder Social logo

Comments (5)

guyzk avatar guyzk commented on July 20, 2024

Other than initial ISO which is already implemented it would be nice to have the option to restrict to one country (select box disabled and set to the requested country code) while still having the phone number validation.

My Bad - Can be done with custom country list

RTL layout support (Mainly the fact that the phone number cannot be RTL event though the entire layout is RTL the phone number itself (and the phone country code) should be in LTR
e.g. currently in RTL the country code is 1+ instead of +1

Can be fixed by adding "textDirection: TextDirection.ltr" to the following lines in widget file:
Row 293: In the Row widget
Row 313: In the TextFormFieldWidget
Row 379: In the select item Row widget
Row 390: In the select item Text widget
Tested: This forces the widget to align correctly even for RTL languages

from intl_phone_number_input.

guyzk avatar guyzk commented on July 20, 2024

@natintosh I can issue a pull request for most of these features and more.
Do you prefer a pull request for each feature or one for all of them?

from intl_phone_number_input.

natintosh avatar natintosh commented on July 20, 2024

Sure 🤗

from intl_phone_number_input.

guyzk avatar guyzk commented on July 20, 2024

Done #17
Regarding the translations I might be able to add 2 languages as a start
The rest can be done as pull requests from the community
Happy to help

from intl_phone_number_input.

natintosh avatar natintosh commented on July 20, 2024

Hi @guyzk thanks for your contributions then I added the draggable scrollable sheet to the modal

from intl_phone_number_input.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.