public function input($type, $options = []) {
    $options = array_merge($this->inputOptions, [
        'class' => 'hint-' . Html::getInputId($this->model, $this->attribute)
    ]);
    $this->adjustLabelFor($options);
    $this->parts['{input}'] = Html::activeInput($type, $this->model, $this->attribute, $options);

    return $this;
  }