Skip to content

Version 1.4.9

Choose a tag to compare

@kartik-v kartik-v released this 05 Mar 04:36
· 47 commits to master since this release

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 itemOptions for checkboxButtonGroup and radioButtonGroup.
  • (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 formConfig to be changed dynamically between ActiveForm::begin and ActiveForm::end and move getFormLayoutStyle to ActiveField
    • ActiveField changes
      • set default template moved from ActiveForm to ActiveField.initLayout()
        (template and css are properties of an ActiveField)
      • Enhance public options labelSpan and deviceSize on level ActiveField also
      • Defaulting of labelSpan and deviceSize Priority: 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 horizontalCssClasses compatible with yii/bootstrap/ActiveForm with
        config options for wrapper, label, error, hint. These options give complete
        control for all classes. labelSpan still works and wrapper is added if there
        is no col- 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
  • (bug #75): Allow ActiveForm::fieldConfig to be configured as Closure.
  • (enh #72): Better hint container markup rendering.