Version 1.4.9
Date: 05-Mar-2018
- (enh #89): Optimize and remove redundant code.
- (enh #88): Do not render addon content if empty.
- (enh #83): Correct PHPDoc to ensure correct return value for
ActiveForm::field()method. - (enh #82): Allow configuration of
itemOptionsforcheckboxButtonGroupandradioButtonGroup. - (enh #81): Change visibility of
$_pluginHintKeys. - (enh #79, #80): Allow configuration of multiple addons.
- (bug #78): Correct offset CSS class generation for horizontal forms.
- CSS enhancements for addons and other styling validation enhancements.
- Add contribution and issue/PR log templates.
- Enhance PHP Documentation for all classes and methods in the extension.
- (enh #76): Refactor code with additional enhancements for horizontal layout (with code support by Enrica):
- ActiveForm changes
- allow
formConfigto be changed dynamically betweenActiveForm::beginandActiveForm::endand movegetFormLayoutStyleto ActiveField
- allow
- ActiveField changes
- set default template moved from ActiveForm to ActiveField.initLayout()
(template and css are properties of an ActiveField) - Enhance public options
labelSpananddeviceSizeon level ActiveField also - Defaulting of
labelSpananddeviceSizePriority: 1. Option (fieldConfig),
2. formConfig, 3. _settings (default) - Build CSS for label, offset and Input on level field
- bug: Fix for checkbox/radio showLabels=>false
- enh: New option
horizontalCssClassescompatible with yii/bootstrap/ActiveForm with
config options forwrapper,label,error,hint. These options give complete
control for all classes.labelSpanstill works andwrapperis added if there
is nocol-tag defined. - enh: Add template with
{beginWrapper},{endWrapper}to enclose input, hint, error - enh: Optionally template
{label}could be split into{beginLabel},
{labelTitle}and{endLabel}tag.{label}is still working as usual
- set default template moved from ActiveForm to ActiveField.initLayout()
- ActiveForm changes
- (bug #75): Allow
ActiveForm::fieldConfigto be configured as Closure. - (enh #72): Better hint container markup rendering.