Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone number field? #1436

Closed
I-Valchev opened this issue Jun 2, 2020 · 3 comments
Closed

Phone number field? #1436

I-Valchev opened this issue Jun 2, 2020 · 3 comments

Comments

@I-Valchev
Copy link
Member

I-Valchev commented Jun 2, 2020

Might be tricky to implement, but it could be nice to support a phone number field? (e.g. + (country code) etc..
and maybe as output some nicer formatting?

@bobdenotter
Copy link
Member

bobdenotter commented Jun 7, 2020

As an intermediary fix, you could use a plain text field, and add a pattern: pattern: '/^([+]31|0)[1-8]\s*-?\s*([\d]\s*-?\s*){8}$/' (this will match Dutch phone-numbers)

@bobdenotter
Copy link
Member

bobdenotter commented Jul 1, 2020

Let's write a bolt.tips article about this!

@I-Valchev I-Valchev added this to the Bolt 4.0.0 stable milestone Jul 1, 2020
@I-Valchev
Copy link
Member Author

I-Valchev commented Jul 1, 2020

Done!

See https://bolt.tips/entry/8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants