You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submit the form without entering anything in name, lastname or message. Then in the AJAX-Request the error appears.
When you comment the line 'throw new ValidationException()' no error is thrown.
October build
437
The text was updated successfully, but these errors were encountered:
@davidatMB I'm not sure what you're expecting to have happen here, you explicitly are telling the application that you are throwing an exception, this halts execution and informs the user that the request was unacceptable. What are you wanting to have happen here instead?
Expected behavior
It should work without an error message in console of Webdevelper.
Actual behavior
When I use the line the code
an error message is shown in console.
Reproduce steps
Create a component like shown
and the form
Submit the form without entering anything in name, lastname or message. Then in the AJAX-Request the error appears.
When you comment the line 'throw new ValidationException()' no error is thrown.
October build
437
The text was updated successfully, but these errors were encountered: