From 5f3c449123954f954e6ae99e1d30919a25bc999e Mon Sep 17 00:00:00 2001 From: Stephan Kasdorf Date: Tue, 29 Sep 2020 22:23:16 +0200 Subject: [PATCH] Version 0.9.5 beta - fixed the checked attribute for radio buttons, also fixed the value field for the radio button --- core/c/typeradio.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/c/typeradio.php b/core/c/typeradio.php index a047438..609e545 100644 --- a/core/c/typeradio.php +++ b/core/c/typeradio.php @@ -15,7 +15,8 @@ class TypeRadio extends FormAttributes implements IForm self::FORM_NAME => '', self::FORM_VALUE => '', self::FORM_ATTRIBUTE_CLASS => '', - self::FORM_ATTRIBUTE_ID => '' + self::FORM_ATTRIBUTE_ID => '', + self::FORM_ATTRIBUTE_CHECKED => '' ); @@ -33,7 +34,7 @@ class TypeRadio extends FormAttributes implements IForm */ private function _setElement( ) { - $this->_element = '' . 'VALUE
' . "\n"; + $this->_element = '' . "\n"; }