view src/Generator/View/snippets/input/checkbox.stub @ 26:555bfaa500ac codex

Big update for view creation based on the column type.
author Luka Sitas <sitas.luka.97@gmail.com>
date Thu, 15 May 2025 21:50:38 -0400
parents
children f88d2d5dee30
line wrap: on
line source

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