laravel old value or default 1

laravel old value or default

{{ old('salary_' . $employee->id, 'Default') }}

Here is what the above code is Doing:
1. We’re using the old() helper to retrieve the value of the salary_$employee->id input field.
2. If the form has been submitted and the value of the salary_$employee->id input field is not empty, then the old() helper will return the value of the salary_$employee->id input field.
3. If the form has not been submitted or the value of the salary_$employee->id input field is empty, then the old() helper will return the value of the second argument, which is ‘Default’.

The old() helper is a very useful helper that can be used to retrieve the value of an input field.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the form.

The old() helper is used to retrieve the value of an input field from the previous request, which is the request that submitted the

Similar Posts