csc_picker icon indicating copy to clipboard operation
csc_picker copied to clipboard

Pre set the default value for country and state drodown

Open bipindubey-technoark opened this issue 3 years ago • 6 comments

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

bipindubey-technoark avatar Sep 20 '21 10:09 bipindubey-technoark

Please check beta branch you will gate 2.0.6 code

altafc22 avatar Sep 20 '21 18:09 altafc22

@altafc22 how to use beta branch code in my project

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

bipindubey-technoark avatar Sep 21 '21 07:09 bipindubey-technoark

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

altafc22 avatar Sep 21 '21 07:09 altafc22

it is available now Thanks @altafc22

bipindubey-technoark avatar Sep 21 '21 09:09 bipindubey-technoark

@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 avatar Sep 21 '21 09:09 bipindubey-technoark

hii @altafc22 Any updates?

bipindubey-technoark avatar Oct 25 '21 07:10 bipindubey-technoark