jeudi 25 avril 2019

Pass multiple checked checkbox values to TextInput in React Native

Any idea how can we pass the items that has a checked checkbox? like if I checkbox no: 1,2,3 and etc.. then pass these to the Text Input

We can you can store the selected item in a class variable, for e.g this.selectedItem = item; when check box is true. Now you can use selectedItem anyway and anywhere you want, but I need to store multiple values.

Need to pass multiple checked checkbox values to TextInput React Native.




Aucun commentaire:

Enregistrer un commentaire