modal submission not triggering listener

i have made a modal submit listener. but for only one of my modals it just refuses to trigger the listener and causes an error. anybody know why this might happen
Solution:
i figured it out. it was because my parser defaulted to returning this.none(). which im guessing is telling the client that the modal is invalid. This could've been documented a bit better.
Jump to solution
2 Replies
Solution
Melosh
Melosh13mo ago
i figured it out. it was because my parser defaulted to returning this.none(). which im guessing is telling the client that the modal is invalid. This could've been documented a bit better.
Favna
Favna13mo ago
None tells the process that the handler should not be ran. Because there is no way that we can strictly bind handlers to specific actions without going through all of them, we need the end-user to provide that through the parse method