Skip to content

Commit 5c17447

Browse files
bondas83Julius SmataviciusQuentin Schmick
authored
When editing Auto Cleanup type, selected checkbox is wrong (#285)
Co-authored-by: Julius Smatavicius <js@frontit.dk> Co-authored-by: Quentin Schmick <quentin.schmick@nathanjames.com>
1 parent 19ee986 commit 5c17447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/tasks/form.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,10 @@
238238
<input class="uk-input" type="number" name="auto_cleanup_num" id="auto_cleanup_num" value="{{ old('auto_cleanup_num', $task->auto_cleanup_num) ?? 0 }}" />
239239
<br>
240240
<label>
241-
<input type="radio" name="auto_cleanup_type" value="days" {{old('auto_cleanup_type', $task->auto_cleanup_type) !== 'results' ? '' : 'checked'}}> Days
241+
<input type="radio" name="auto_cleanup_type" value="days" {{old('auto_cleanup_type', $task->auto_cleanup_type) !== 'results' ? 'checked' : ''}}> Days
242242
</label><br>
243243
<label>
244-
<input type="radio" name="auto_cleanup_type" value="results" {{old('auto_cleanup_type', $task->auto_cleanup_type) === 'results' ? '' : 'checked'}}> Results
244+
<input type="radio" name="auto_cleanup_type" value="results" {{old('auto_cleanup_type', $task->auto_cleanup_type) === 'results' ? 'checked' : ''}}> Results
245245
</label>
246246
</label>
247247
</div>

0 commit comments

Comments
 (0)