Question:
I am using react-native-picker-select. When there is data called ingre, I want ingrebool to be false when a,b,c,d is pressed and to be true when e is pressed. What should I do?this is my code
Answer:
You figured it out yourself already: Set ingrebool to be false when a,b,c,d is pressed and to be true when e is pressed.If you have better answer, please add a comment about this, thank you!