react-native-signature-canvas
react-native-signature-canvas copied to clipboard
Need a method for disabling the confirm button
Just implemented this library in our app and it is working well, however, we really need the ability to disable (functionally, as well as modify the style) the confirm button until the user has added a signature. Has there been any consideration given to this type of functionality?
onEmpty | function | handle function of empty signature when you click save button, you can try this prop
@YanYuanFE @mattekelly-unigroup I was able to achieve that with adding new disable state with true as default. After onEnd is called I set it to false. When the user press clear, state again is set to true. This issue is pretty old, so maybe there is better way to do it ?