Git Product home page Git Product logo

phonenumbers's People

Contributors

aumb avatar imgbotapp avatar markuspaschi avatar themisir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

phonenumbers's Issues

Hint number text and spaces

Hello,

Thanks a lot!

It would be awesome to add the phone pattern for each country as a hint text.

Like :

image

phonenumbers package

First of all thanks for the package.

It's a good idea to have a pure dart version, just for the fact that it instantly support all platforms and it also reduces the file size for the web. It also doesn't really need all the fancy stuff there are in the libphonenumber library since you know what's the prefix and what isn't. That being said I think the phone number validation bit could be in a separate package from the UI. It could also use pattern matching. PhoneNumberKit (iOS) there is this metadata for pattern validation https://github.com/marmelroy/PhoneNumberKit/blob/master/PhoneNumberKit/Resources/PhoneNumberMetadata.json

I've a few ideas for the ui and I'll go ahead and post all of them in this issue, I don't expect you to implement all of them though I could help. Most of them is to get closer to the UI provided by this package, because it looks dope: https://github.com/natintosh/intl_phone_number_input

UI:

  • bottom sheet country selection
  • flags in country selection
  • option to let the search bar be initially focused

country code

don't able to select country code may be something wrong with the controller

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.