annotate src/Generator/View/snippets/input/text.stub @ 36:76584181267a ls_dev_2025_09

Got factories working in a basic way, not sure how complex tables will handle it though
author Luka Sitas <sitas.luka.97@gmail.com>
date Sat, 20 Sep 2025 17:14:29 -0400
parents f88d2d5dee30
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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.text
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}}"
28
f88d2d5dee30 Updated inputs and routes
Luka Sitas <sitas.luka.97@gmail.com>
parents: 26
diff changeset
4 :value="request('{{fieldName}}', $item?->{{fieldName}} ?? '')"
26
555bfaa500ac Big update for view creation based on the column type.
Luka Sitas <sitas.luka.97@gmail.com>
parents:
diff changeset
5 :required="{{required}}"
555bfaa500ac Big update for view creation based on the column type.
Luka Sitas <sitas.luka.97@gmail.com>
parents:
diff changeset
6 ></x-form.text>