Version 3.8 of Yii HTML package is released. There are some improvements:
- added optional
wrap
parameter toBooleanInputTag::label()
method that controls whether to wrap input tag with label tag or place them aside; - added
CheckboxList::checkboxLabelWrap()
andRadioList::radioLabelWrap()
methods; - added ability to wrap items in checkbox and radio lists by using methods
CheckboxList::checkboxWrapTag()
,CheckboxList::checkboxWrapAttributes()
,CheckboxList::checkboxWrapClass()
,CheckboxList::addCheckboxWrapClass()
,RadioList::radioWrapTag()
,RadioList::radioWrapAttributes()
,RadioList::radioWrapClass()
andRadioList::addRadioWrapClass()
; - added
non-empty-string
psalm type ofHtml::generateId()
method result; - added
non-empty-string|null
psalm type ofTag::id()
method parameter; - bumped minimal PHP version to 8.1 and refactor.