Closed pieinn closed 6 years ago
If I get you right, an error alert is not shown when you input an invalid phone number?
I'm not sure how the Laravel-Phone package handles the validation errors, but the Ajax-Form component should automatically retrieve the errors
array from the server response and display the first validation error of the array. But this only happens when an error status code is specified (422 for validation errors). So if no alert will be shown at all, I guess there is no error status code in the server's response...
Could you open the browser's console and paste the server's response including the status code here?
Hi, Sorry for late reply.
The status code is 422
Hi, please advice input field is validated but not show Alert with error.
I use https://github.com/Propaganistas/Laravel-Phone
MyController :
AJAX-FORM:
Debugbar Exceptions: