markdown guide

See when you submit the form, all fields can be found in Request object of controller. From here if you redirect back using "withInputs" then Laravel automatically passes all form fields (from Request object) to blade, which can be accessed using old().
So when you refresh the page, controller is not even called, that's why old() is not working here.

Classic DEV Post from Nov 11 '18

How Classes work in JavaScript

Classes are the syntactic sugar in the javascript, unlike the other programming languages javascript doesn't contain proper classes.

सुजन खड्का🇳🇵 profile image
software developer👨🏻‍💻|

Still don't have a dev.to account? You're welcome to lurk, but it's better to be part of the community.

Sign up now ❤️