react-native-signature-canvas icon indicating copy to clipboard operation
react-native-signature-canvas copied to clipboard

Need a method for disabling the confirm button

Open mattekelly-unigroup opened this issue 4 years ago • 2 comments

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?

mattekelly-unigroup avatar Feb 26 '21 20:02 mattekelly-unigroup

onEmpty | function | handle function of empty signature when you click save button, you can try this prop

YanYuanFE avatar Mar 01 '21 02:03 YanYuanFE

@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 ?

kkaplinski avatar Mar 27 '23 09:03 kkaplinski