At 07:28 I should have used the f.Errors.Add(field, message) method 😪Like this: f.Errors.Add(field, "This field cannot be empty.") Same for the MaxLength validation method. Code snippets: github.com/druc/posty
As a full time Laravel developer, all I can say is that I wish a framework as fully fledged and widely used as it was available in a statically typed compiled language like Go…
10:08 You can also maintain the state on the browser without involving the backend move all the input fields out of the form element and only keep the button inside the form element, then give the form element an id then add the attribute called form in the input which will be the id of the form element, with this you have successfully maintained state without server
Hello Sir. Thank you for your content, I really like it. Please how to prevent Ziggy from exposing routes in browser source code using inertia js and Laravel
At 07:28 I should have used the f.Errors.Add(field, message) method 😪Like this:
f.Errors.Add(field, "This field cannot be empty.")
Same for the MaxLength validation method.
Code snippets: github.com/druc/posty
As a full time Laravel developer, all I can say is that I wish a framework as fully fledged and widely used as it was available in a statically typed compiled language like Go…
10:08 You can also maintain the state on the browser without involving the backend move all the input fields out of the form element and only keep the button inside the form element, then give the form element an id then add the attribute called form in the input which will be the id of the form element, with this you have successfully maintained state without server
no waaay!! Imma try that! thx
How and why does that work?
imma need an example cuz this doesnt seem to be working
Hello Sir. Thank you for your content, I really like it. Please how to prevent Ziggy from exposing routes in browser source code using inertia js and Laravel
can you share code with us?
logged off for today but I’ll put it on github tomorrow and update the video description🫡
Good idea