view src/Generator/View/snippets/input/date.stub @ 35:55d2e5c5dad9 ls_dev_2025_09

Working on the factory, it's in a semi working state but obviously not complete
author Luka Sitas <sitas.luka.97@gmail.com>
date Thu, 11 Sep 2025 21:25:51 -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>