From 7a76f4b857c4111e9877b29ace67490320f6ec11 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Wed, 18 Sep 2019 11:30:01 -0400 Subject: [PATCH] Update InputfieldCheckbox to support label element attributes in output ($labelAttrs array), for API usage --- wire/modules/Inputfield/InputfieldCheckbox.module | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/wire/modules/Inputfield/InputfieldCheckbox.module b/wire/modules/Inputfield/InputfieldCheckbox.module index 60f82edc..9ab6bc40 100644 --- a/wire/modules/Inputfield/InputfieldCheckbox.module +++ b/wire/modules/Inputfield/InputfieldCheckbox.module @@ -9,7 +9,9 @@ * @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 array $labelAttrs Optional attributes for