Found the variable: No (159 + bar)
Found the variable: No
Send form from self-updating AJAX partial and throw back NotFoundException...
This is as expected.
Send form from self-updating AJAX partial and throw back ApplicationException...
Expected behavior: Simple Javascript alert with text message as before, not another Exception thrown by /vendor/twig/twig/src/Template.php.
Send form from self-updating AJAX partial and throw back AjaxException...
Expected behavior: Ajax Exception message catched by form's 'data-request-error': 'console.log(data.message)', but exception was overwritten by another one thrown by /vendor/twig/twig/src/Template.php.
Send form from self-updating AJAX partial with wrong value (type whatever) and then with correct (type: correct). Validation is in AJAX handler.
This is as expected.
Send form from self-updating AJAX partial with wrong value (type whatever) and then with correct (type: correct). Validation is in Model.
This issue happens in all kind of AJAX cycle when filling and throwing Validation Exception from Tailor Model, not only in self-updated ajaxPartial. Maybe a feature:-)
Expected behavior: When success, no previous form wrong state returned. Can be simply fixed with adding Session::forget('_old_input') to handler.