view src/Generator/View/snippets/input/select.stub @ 33:93adaad3ca65 codex

fixing date fields when null
author Luka Sitas <sitas.luka.97@gmail.com>
date Tue, 09 Sep 2025 15:55:30 -0400
parents f88d2d5dee30
children
line wrap: on
line source

<x-form.select
	name="{{fieldName}}"
	label="{{fieldLabel}}"
	:options="{{options}}"
	:value="request('{{fieldName}}', $item?->{{fieldName}} ?? '')"
	:required="{{required}}"
></x-form.select>