I've tried grabbing the old input when validation fails as shown below but it's not working. How can I grab it?
<input type="number" name="price" value="{{ old('price') }} "/>
CodePudding user response:
Mh, removing the white space after the last curly brace fixes the problem.
Final working code, <input type="number" name="price" value="{{ old('price') }}"/>
CodePudding user response:
Delete the empty space after the bracket