GithubHelp home page GithubHelp logo

Comments (7)

bipindubey-technoark avatar bipindubey-technoark commented on June 22, 2024 2

Ok for the other people who might get this same issue in future

just use this
flagState: CountryFlag.SHOW_IN_DROP_DOWN_ONLY,

                      it has 3 options 
                        CountryFlag.SHOW_IN_DROP_DOWN_ONLY,
                        CountryFlag.ENABLE,
                        CountryFlag.DISABLE

from csc_picker.

bipindubey-technoark avatar bipindubey-technoark commented on June 22, 2024 1

@altafc22 i m still getting space before the country name

I have used this
CountryFlag.SHOW_IN_DROP_DOWN_ONLY,

from csc_picker.

bipindubey-technoark avatar bipindubey-technoark commented on June 22, 2024 1

image

I was getting like this

I just used trim() here for now it is solved.
now you dont get any spaces before and after in country name

Eg.

onCountryChanged: (value) {
                            if (value != null) {
                              setState(() {
                                ///store value in country variable
                                countryValue = value.trim();
                              });
                            }
                          },

from csc_picker.

altafc22 avatar altafc22 commented on June 22, 2024

hi @bipindubey-technoark, thanks for using csc picker. you can use showFlag parmeter to enable disable flag in app

eg. showFlag | Boolean - toggle country flag

from csc_picker.

bipindubey-technoark avatar bipindubey-technoark commented on June 22, 2024

I want to show flag in dropdown but i want to stored only country name as value
in variable

from csc_picker.

altafc22 avatar altafc22 commented on June 22, 2024

thanks for suggesting this feature you can get this thing in new version v0.0.9
package is updated please add version v0.0.9 in your project

from csc_picker.

bipindubey-technoark avatar bipindubey-technoark commented on June 22, 2024

Ok Thanks @altafc22

from csc_picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.