laravel retain old value code example
Example 1: laravel retain old value
<input type="text" class="form-control" value="{{old('description')}}" name="description" /></input>
Example 2: laravel retain old value
<textarea type="text" class="form-control" id="productDescription" name="description" />{{old('description')}}</textarea>
Example 3: laravel retain old value
<input type="text" class="form-control" id="productName" name="name" value="{{old('name')}}">