LaravelCollective / html

HTML and Form Builders for the Laravel Framework
MIT License
4k stars 806 forks source link

Not working when validation error comes up. #744

Open ripon52 opened 1 year ago

ripon52 commented 1 year ago

i am facing issues with Laravel, whenever the form getting validation errors, it's removing old values form the input fields. Laravel shows this package has abounded. Can you guys suggest any way to make it happen like before?

tszyuloveyou commented 1 year ago

{!! Form::{method}( {name}, {option|value}, {value|attributes}...... ) !!} please set the value = old( "{name}" )

btw, ajax may be a good idea