react-native-calculator icon indicating copy to clipboard operation
react-native-calculator copied to clipboard

When using the onAccept attribute, it activates the onCalc attribute at the same time, the same happens when I press the equal button it calls the onAccept function, would it have a solution?

Open Andersonfrfilho opened this issue 5 years ago • 0 comments

When using the onAccept attribute, it activates the onCalc attribute at the same time, the same happens when I press the equal button it calls the onAccept function, would it have a solution?

Example I want it to send me just ready result, so I put 3 + 4, when I press equal (=) it calls the onAccept attribute function that sends these values ​​to my state

Image of Problem https://ibb.co/x59Nr3m

Andersonfrfilho avatar Oct 04 '19 12:10 Andersonfrfilho