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

Pre set the default value for country and state drodown #37

Open
bipindubey-technoark opened this issue Sep 20, 2021 · 6 comments
Open

Comments

@bipindubey-technoark
Copy link

I want to set the default value for country and state droddown,
I seen that this functionality is available in version 2.0.6 but on pub dev latest version is 2.0.5.

How to get the latest version
@altafc22 @Lab360-inc
Thanks

@altafc22
Copy link
Owner

Please check beta branch you will gate 2.0.6 code

@bipindubey-technoark
Copy link
Author

bipindubey-technoark commented Sep 21, 2021

@altafc22 how to use beta branch code in my project

can you merge beta branch in master ?? and also upload that in pub.dev

@altafc22
Copy link
Owner

@bipindubey-technoark please install csc picker v0.2.6 from pub.dev beta code is available in pub.dev

@bipindubey-technoark
Copy link
Author

bipindubey-technoark commented Sep 21, 2021

it is available now
Thanks @altafc22

@bipindubey-technoark
Copy link
Author

bipindubey-technoark commented Sep 21, 2021

@altafc22 I am facing one small issue in this

i have set currentcountry and currentState and working fine

lets suppose India has 2 state, Maharashtra and Gujrat.

Initially country is set to India and state is set to Maharashtra.
I dont know state city is getting disable first time Now i have to change only state to Gujrat but i am unable to do so
for changing state i have to change country also. then i am able to select state

Validation for state should be

  1. country should not be blank

but we have country so it should allow me to select state based on that country
We have one field as disableCountry .
We should have one more field as disableState which will be boolean.

Thanks @altafc22

@bipindubey-technoark
Copy link
Author

hii @altafc22 Any updates?

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