I want to show the old input in input value. If there isn\'t old input, than show other variable:
value=\"{{ old(\'salary_\' . $employee->id) or \'Default\' }
You can use the code (for PHP 7):
{{ old('field_name') ?? $model->field_name ?? 'default' }}
For checkbox checked attribute use the code (if default value is false):
{{ (old() ? old('field_name', false) : $model->field_name ?? false) ? 'checked' : '' }}
Construction {{ $something or 'default'}}
works only for variables