From 0e00e4a360c4866463d1ca16d904f33418fa3817 Mon Sep 17 00:00:00 2001 From: Torsten Baldes Date: Thu, 29 Nov 2012 10:57:47 +0100 Subject: [PATCH] Allow for-Attribute for Select-Menu The label for Select-Menus in forms didn't have a for-attribute. --- system/modules/core/forms/FormSelectMenu.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/modules/core/forms/FormSelectMenu.php b/system/modules/core/forms/FormSelectMenu.php index 0e4d146f56..2c51567632 100644 --- a/system/modules/core/forms/FormSelectMenu.php +++ b/system/modules/core/forms/FormSelectMenu.php @@ -34,6 +34,12 @@ class FormSelectMenu extends \Widget */ protected $blnSubmitInput = true; + /** + * Add a for attribute + * @var boolean + */ + protected $blnForAttribute = true; + /** * Template * @var string