input() public method
Renders an input tag.
public $this input ( $type, $options = [] )$type string
The input type (e.g. text, password) $options array
The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using yii\helpers\Html::encode(). If you set a custom id for the input element, you may need to adjust the $selectors accordingly. return $this
The field object itself.