Mercurial > packages > magicforger
annotate src/Generator/View/snippets/input/checkbox.stub @ 27:b17f81b804ff codex
Added support for routes
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Mon, 02 Jun 2025 21:51:09 -0400 |
| parents | 555bfaa500ac |
| 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> |
