Hello,
I'm building a ticket sidebar app, React with Typescript.
But, when I'm trying to use the ticket.save hook, I'm not able to prevent the ticket in question from being saved.
Is this an issue that only occurs in React files?
Follow my code:
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
I've tested this with our react scaffold and everything worked as anticipated. One thing to note is that you're using an NPM package that isn't actually built by Zendesk and hasn't been updated in six years. I'd suggest taking a look at our React scaffold and how we've implemented the app's framework there. After implementing ZAF directly if you're still having issues, feel free to provide us a sample app and we can take a look.
Thanks!