From 20a523b62c2c52bb15bec6db8263b7dd12a113e9 Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Tue, 10 Jan 2023 12:28:17 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20NetCommonsForm->checkbox=E3=81=AE?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E5=BC=95=E6=95=B0=E3=81=AB=E3=83=A2=E3=83=87?= =?UTF-8?q?=E3=83=AB=E5=90=8D=E3=82=92=E7=9C=81=E7=95=A5=E3=81=97=E3=81=9F?= =?UTF-8?q?=E3=81=A8=E3=81=8D=E3=81=AB=E3=80=81label=E3=82=BF=E3=82=B0?= =?UTF-8?q?=E3=81=ABfor=E3=81=8Ccheckbox=E3=81=AEid=E3=81=A8=E7=95=B0?= =?UTF-8?q?=E3=81=AA=E3=82=8B=E3=81=93=E3=81=A8=E3=81=8C=E3=81=82=E3=82=8B?= =?UTF-8?q?=E3=83=90=E3=82=B0=E4=BF=AE=E6=AD=A3=E3=80=82=20=E2=80=BB?= =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=8B=95=E4=BD=9C=E3=81=AB=E3=81=AF=E5=BD=B1?= =?UTF-8?q?=E9=9F=BF=E3=81=AA=E3=81=84=E3=80=82=E3=83=86=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=82=82=E4=B8=8D=E8=A6=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- View/Helper/FormInputHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/View/Helper/FormInputHelper.php b/View/Helper/FormInputHelper.php index 79f1dcc0..657e5572 100644 --- a/View/Helper/FormInputHelper.php +++ b/View/Helper/FormInputHelper.php @@ -262,7 +262,7 @@ private function __inArrayForChecked($needle, $haystack) { * @return string */ private function __bootstrapCheckbox($fieldName, $checkboxClass, $label, $escape, $inputOptions) { - $domId = Hash::get($inputOptions, 'id', $this->domId($fieldName)); + $domId = Hash::get($inputOptions, 'id', $this->Form->domId($fieldName)); $inputOptions = Hash::remove($inputOptions, 'type'); $input = '
';