view src/Generator/View/snippets/input/checkbox.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 f88d2d5dee30
children
line wrap: on
line source

<x-form.checkbox
	name="{{fieldName}}"
	label="{{fieldLabel}}"
	:checked="request('{{fieldName}}', $item?->{{fieldName}} ?? 'false')"
></x-form.checkbox>