$options public property
The HTML attributes (name-value pairs) for the field container tag. The values will be HTML-encoded using yii\helpers\Html::encode(). If a value is null
, the corresponding attribute will not be rendered. The following special options are recognized:
-
tag
: the tag name of the container element. Defaults todiv
. Setting it tofalse
will not render a container tag. See also yii\helpers\Html::tag().
If you set a custom id
for the container element, you may need to adjust the $selectors accordingly.
See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.
Please login to continue.