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

showing only "+" value #472

Open
srinivas33333 opened this issue Aug 2, 2023 · 0 comments
Open

showing only "+" value #472

srinivas33333 opened this issue Aug 2, 2023 · 0 comments

Comments

@srinivas33333
Copy link

srinivas33333 commented Aug 2, 2023

Describe the bug
initialValue(counrty_code) not showing based on country_flag. but showing when click on input field until it showing '+' value only

To Reproduce
Steps to reproduce the behavior:

  1. remove 'initialValue' prop

Expected behavior
show country_code when component render. not only when clicked on input field

Screenshots
image

Additional context
component without 'initialValue' value. issue won't exists if i pass initialValue. but same below code used in another application, where it works fine without 'initialValue' prop
<ReactTelInput
type="text"
flagsImagePath={flags}
onChange={e => handleChanged(e, Id)}
name={Id}
value={answer}
defaultCountry={'kg'}
/>

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

1 participant