2021-10-20 714次浏览

HTML package version 2.2.0 was released.

In this release:

  • Added nofollow() method to the A tag.
  • Added itemsFromValues() method to RadioList and CheckboxList . The method sets items with labels equal to values passed.
  • A third optional argument $attributes containing tag attributes in terms of name-value pairs has been added to methods Html::textInput() , Html::hiddenInput() , Html::passwordInput() , Html::fileInput() , Html::radio() , Html::checkbox() , Html::textarea() .