Date: 31-Jul-2023
- (enh #139): Correct
parseFormFlag
method forreadonly
anddisabled
check.
Date: 28-Jul-2023
- (enh #138): Enhance required star for bootstrap 5 floating labels.
- (enh #137): Overflowing labels in CheckboxList don't break correctly with Bootstrap 4.
- (enh #136): Enhance ActiveForm to dynamically configure
enabled
,readonly
andstaticOnly
flags.
Date: 27-Feb-2022
- PHP 8.1 enhancements for native functions.
- (enh #135): Backward compatibility for PHP 5.6.
Date: 13-Feb-2022
- (enh #134): Correct form label required star styling for BS 5.x.
- (enh #131): Enhance hint block styling.
- (enh #130): Support isset validation for older PHP versions.
- (enh #129): Enhance radioList and checkboxList styles.
Date: 01-Sep-2021
- (enh #128): Enhancements to support Bootstrap v5.x.
Date: 01-Sep-2021
- (enh #121): Fixed type hinting error.
- (enh #120): BS4 Custom Controls Enhancements: Switch and File.
Date: 24-Feb-2019
- (enh #119): Correct required star styling for BS custom checkbox control label.
- (enh #118): Add feature to show star indicator for required field labels.
- (enh #117): Add ability to insert content at begin and end of rendered ActiveField.
Date: 27-Sep-2018
- (enh #115): Enhance rendering of Bootstrap 4.x custom file control.
Date: 27-Sep-2018
- Bump up version.
Date: 26-Sep-2018
- New
ActiveForm
methodsisHorizontal
,isInline
,isVertical
for easy layout detection. - Label styling enhancements.
Date: 22-Sep-2018
- Refactor code via
kartik\base\BootstrapInterface
. - (enh #113): Enhance checkbox styling for BS3.
Date: 20-Sep-2018
- (enh #112): Enhance checkbox styling for enclosed label for both BS4 and BS3.
- (enh #111): Enhance BS3 checkbox styling.
- Enhance to use
Config::hasCssClass
. - Better styling for Bootstrap 4.x hint block.
- (enh #109): Correct BS3 label styling and rendering for checkboxes and radios.
- (enh #108): Add bootstrap grid column css size map configuration.
- (enh #107): Add bootstrap 4 CSS highlight class for server validation errors.
Date: 05-Sep-2018
- Add BS4 custom checkbox & custom radio controls support.
- (kartik-v/yii2-krajee-base#94): Refactor code and consolidate / optimize properties within traits.
- Add Bootstrap button default CSS and icon prefix parsing.
- (enh #102): Enhance size modifier detection and input feedback icons.
- (bug #101): Correct
addClass
assignment for HTML5 inputs. - (enh #100): Control ActiveField addons highlight for success & error states.
- (enh #99): Correct ActiveField wrapper templates when
skipFormLayout
is set totrue
.
Date: 16-Aug-2018
- (bug #98): Correct ActiveForm css variables init.
Date: 16-Aug-2018
- Implement AddonTrait.
- (enh #95): Add Bootstrap 4.x Support.
- (bug #94): Add missing comma in activeform css.
- Reorganize source code in
src
directory. - (enh #91, #92): Correct validation for getting form layout style.
- Set krajee base dependency to v1.9.x.
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
forcheckboxButtonGroup
andradioButtonGroup
. - (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 betweenActiveForm::begin
andActiveForm::end
and movegetFormLayoutStyle
to ActiveField
- allow
- ActiveField changes
- set default template moved from ActiveForm to ActiveField.initLayout() (template and css are properties of an ActiveField)
- Enhance public options
labelSpan
anddeviceSize
on level ActiveField also - Defaulting of
labelSpan
anddeviceSize
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 forwrapper
,label
,error
,hint
. These options give complete control for all classes.labelSpan
still works andwrapper
is 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
- ActiveForm changes
- (bug #75): Allow
ActiveForm::fieldConfig
to be configured as Closure. - (enh #72): Better hint container markup rendering.
Date: 28-Apr-2016
- (enh #74): Add branch alias for dev-master latest release.
- (bug #73): Correct dependency for
ActiveFormAsset
.
Date: 05-Dec-2015
- (bug #70): Correct
staticOnly
form render. - (bug #67, #69): Fix typo for
HINT_DEFAULT
.
Date: 05-Dec-2015
- (enh #66): Better hint data fetch and code reformatting. Refer updated docs and demo.
- (bug #65): Fixes to staticOnly form rendering.
- (enh #64): Enhancement to display and style hints via icon popups or label hover
- (enh #61): Use model
getAttributeLabel()
as default ininitPlaceholder
.
Date: 22-Oct-2015
- (enh #60): Enhancements to
checkboxButtonGroup
andradioButtonGroup
. - (enh #59): Added .gitignore for composer stuff.
Date: 08-Jul-2015
- (enh #56): Implement feedback icons within inputs.
Date: 17-Jun-2015
- (enh #55): Set composer ## Version dependencies.
Date: 11-May-2015
- (enh #54): Set default ActiveForm field template to be consistent with yii\widgets\ActiveForm.
- (enh #49, #50): Updates to hint rendering for latest yii ActiveField upgrade.
- (enh #48): Various enhancements to Horizontal Form Layout Styles.
- (enh kartik-v/yii2-widgets#243): Enhance CSS style
kv-fieldset-inline
. - (bug #46): Bootstrap input group addons for horizontal forms.
- (enh #42): New ActiveField property
skipFormLayout
to override and skip special form layout styling. - (enh #41): New properties for adding or wrapping markup before LABEL, ERROR & HINT blocks.
- (enh #40): Initialize ActiveField template more correctly.
- (enh #39): Change ActiveField private properties to protected.
- (enh #38): Fix
autoPlaceholder
property for INLINE forms whenshowLabels
istrue
. - (enh #37): Scale inputs to full width in horizontal forms when
showLabels
isActiveForm:;SCREEN_READER
. - (enh #36): Prevent offset of checkbox/radio labels for horizontal forms when
enclosedByLabel
isfalse
. - (bug #33): Correct autoPlaceholder based attribute label generation for tabular inputs.
- (enh #32): Create new
checkboxButtonGroup
&radioButtonGroup
in ActiveField.
Date: 14-Feb-2015
- (enh #30): Add
control-label
class to labels for Vertical form. - Set copyright year to current.
Date: 28-Jan-2015
- (enh #28): Enhancements for error and hint display for horizontal forms.
- (enh #27): New property
staticValue
in ActiveField. - (enh #26): Enhance
ActiveField::staticInput
to include options to show error and hint. - (enh #25): Default
showHints
totrue
for all form types in ActiveForm. - (enh #24): Allow static data forms through new
ActiveForm::staticOnly
property. - (enh #22): Enhance active field template for controlling labels, hints, & errors.
- (enh #21): Prevent display of error and hint blocks for static input.
- (enh #20): Ability to add markup before and after ActiveField Input.
- (enh #19): Add new
showHints
property to ActiveField configuration.
Date: 04-Dec-2014
- (enh #13): Allow
showLabels
property in ActiveForm & ActiveField to be tristate:true
: show labelsfalse
: hide labelsActiveForm::SCREEN_READER
: show in screen reader only (hide from normal display)
- (enh #12): Include new
disabled
andreadonly
properties in ActiveForm. - (enh #9): Enhance support for labels and horizontal form layouts
- Allow labels to be set to
false
to hide them completely - Enhance HORIZONTAL forms to style labels appropriately when they are blank/empty.
- Enhance HORIZONTAL forms to style labels, hints, and errors appropriately when they are set to false to fill the container width
- Allow labels to be set to
Date: 26-Nov-2014
- (bug #7): Fix custom labels rendering for checkboxes
- Set release to stable
Date: 17-Nov-2014
- (enh #6): Fix incorrect alignment of inputs, buttons, and error block for INLINE FORM orientation.
- (enh #5): Add special styling for bootstrap input group button addons for success and error states.
- Clean up invalid assets, unneeded classes, and refactor code.
- (enh #1): Enhance ActiveField inputs to include bootstrap default styles.
Date: 08-Nov-2014
- Initial release
- Sub repo split from yii2-widgets