Giter Club home page Giter Club logo

Comments (9)

neilgamb avatar neilgamb commented on May 24, 2024 7

Any update on this? Having same issue!

from react-native-checkbox.

nicholaslee119 avatar nicholaslee119 commented on May 24, 2024 3

Thanks to @AmmarRajab 's work,
0.2.1 was released
thanks for waiting

from react-native-checkbox.

AmmarRajab avatar AmmarRajab commented on May 24, 2024 1

created a pull request

00203b8

from react-native-checkbox.

SelfDevTV avatar SelfDevTV commented on May 24, 2024

Same Problem here!
I moved to react-native-communtiy because I got this warning while importing checkbox with react-native core and now it's not working, since I can't pod install

from react-native-checkbox.

hatlestad avatar hatlestad commented on May 24, 2024

As a workaround until this is fixed...

Assuming you are using an icon library (such as react-native-vector-icons), you can make your own checkbox pretty easily.

Use the boolean value in the name prop to set the icon's name.
Add your function to onPress to have it update the value in state (in my example I am using Hooks, could be easily tweaked for classic state management).

<MaterialCommunityIcons
     size={30}
     name={formValues.myCheckbox ? 'checkbox-marked-outline' : 'checkbox-blank-outline'}
     color={'#000000'}
     onPress={() => setFormValues({ ...formValues, myCheckbox: !formValues.myCheckbox })}
/>

from react-native-checkbox.

AmmarRajab avatar AmmarRajab commented on May 24, 2024

really , no response !! .. it's really annoying

from react-native-checkbox.

Naturalclar avatar Naturalclar commented on May 24, 2024

@nicholaslee119 should this issue be closed? The problem seems to be solved.

from react-native-checkbox.

nicholaslee119 avatar nicholaslee119 commented on May 24, 2024

solved

from react-native-checkbox.

NelsonPetitos avatar NelsonPetitos commented on May 24, 2024

Still having this Error @react-native-community/checkbox version 0.5.5

from react-native-checkbox.

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.