widgets\ActiveField $inputOptions

$inputOptions public property

The default options for the input tags. The parameter passed to individual input methods (e.g. textInput()) will be merged with this property when rendering the input tag.

If you set a custom id for the input element, you may need to adjust the $selectors accordingly.

See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.

public array $inputOptions = ['class' => 'form-control']
doc_Yii
2016-10-30 17:17:44
Comments
Leave a Comment

Please login to continue.