Mercurial > packages > magicforger
annotate src/Generator/View/snippets/input/checkbox.stub @ 26:555bfaa500ac codex
Big update for view creation based on the column type.
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Thu, 15 May 2025 21:50:38 -0400 |
| parents | |
| children | f88d2d5dee30 |
| rev | line source |
|---|---|
|
26
555bfaa500ac
Big update for view creation based on the column type.
Luka Sitas <sitas.luka.97@gmail.com>
parents:
diff
changeset
|
1 <x-form.checkbox |
|
555bfaa500ac
Big update for view creation based on the column type.
Luka Sitas <sitas.luka.97@gmail.com>
parents:
diff
changeset
|
2 name="{{fieldName}}" |
|
555bfaa500ac
Big update for view creation based on the column type.
Luka Sitas <sitas.luka.97@gmail.com>
parents:
diff
changeset
|
3 label="{{fieldLabel}}" |
|
555bfaa500ac
Big update for view creation based on the column type.
Luka Sitas <sitas.luka.97@gmail.com>
parents:
diff
changeset
|
4 :checked="old('{{fieldName}}', $item?->{{fieldName}} ?? 'false')" |
|
555bfaa500ac
Big update for view creation based on the column type.
Luka Sitas <sitas.luka.97@gmail.com>
parents:
diff
changeset
|
5 ></x-form.checkbox> |
