view src/Generator/View/snippets/input/date.stub @ 38:c062f013fd19 ls_dev_2025_09

Making test a default with the -a option
author Luka Sitas <sitas.luka.97@gmail.com>
date Thu, 25 Sep 2025 20:24:13 -0400
parents 93adaad3ca65
children
line wrap: on
line source

<x-form.date
	name="{{fieldName}}"
	label="{{fieldLabel}}"
	:value="request('{{fieldName}}', optional($item?->{{fieldName}} ?? null)->format('Y-m-d') ?? '')"
	:required="{{required}}"
></x-form.date>