ZAF ticket.save hook is not rejecting on a file with extension .tsx
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:
-
Hey there,
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!
Por favor, entrar para comentar.
1 Comentários