Skip to content

Default value #39

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

Open
mohamedtijani opened this issue Apr 4, 2017 · 1 comment
Open

Default value #39

mohamedtijani opened this issue Apr 4, 2017 · 1 comment

Comments

@mohamedtijani
Copy link

How to add a default value

@ajmas
Copy link
Contributor

ajmas commented Apr 17, 2017

It is added via:

<ReactPhoneInput value="..." />

There is an issue in that if you change the state of the component it is in then it won't get the updated value. It would appear a change need to be made to componentWillReceiveProps() function to accept an update value. See issue #40

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

No branches or pull requests

2 participants