fix: 🐛 Show checkbox checked

This commit is contained in:
IceToast 2023-02-10 00:43:33 +01:00 committed by IceToast
parent 201aff6c0a
commit 8c9c70ef3f

View file

@ -99,7 +99,8 @@
@case($value['type'] == 'boolean')
<input type="checkbox" name="{{ $key }}"
value="{{ $value['value'] }}">
value="{{ $value['value'] }}"
{{ $value['value'] ? 'checked' : '' }}>
@break
@case($value['type'] == 'number')