From 6208e42cace9e0d00afe9019cb69159016a379c2 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Thu, 31 Oct 2019 15:25:08 -0400 Subject: [PATCH] Add option to InputfieldCheckbox to enable it to render without labels (useful for when rendered as in first/last table column or similar situations) --- .../Inputfield/InputfieldCheckbox.module | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/wire/modules/Inputfield/InputfieldCheckbox.module b/wire/modules/Inputfield/InputfieldCheckbox.module index 9ab6bc40..cc601d29 100644 --- a/wire/modules/Inputfield/InputfieldCheckbox.module +++ b/wire/modules/Inputfield/InputfieldCheckbox.module @@ -9,6 +9,7 @@ * @property string $uncheckedValue * @property string $label2 Alterate label to display next to checkbox (default=use regular label) * @property string $checkboxLabel Same as label2, but used as part of field config rather than API-only config. + * @property bool $checkboxOnly Show only the checkbox without label text next to it? (default=false) @since 3.0.144 * @property array $labelAttrs Optional attributes for "; return $out; }