Browse Source

Merge pull request #12357 from w3lifer/patch-12

Cosmetic changes
tags/2.0.10
Dmitry Naumenko 8 years ago committed by GitHub
parent
commit
bfb79a7818
  1. 4
      framework/widgets/ActiveField.php

4
framework/widgets/ActiveField.php

@ -68,9 +68,9 @@ class ActiveField extends Component
* merged with this property when rendering the error tag.
* The following special options are recognized:
*
* - tag: the tag name of the container element. Defaults to "div". Setting it to `false` will not render a container tag.
* - `tag`: the tag name of the container element. Defaults to `div`. Setting it to `false` will not render a container tag.
* See also [[\yii\helpers\Html::tag()]].
* - encode: whether to encode the error output. Defaults to `true`.
* - `encode`: whether to encode the error output. Defaults to `true`.
*
* If you set a custom `id` for the error element, you may need to adjust the [[$selectors]] accordingly.
*

Loading…
Cancel
Save