/** * @inheritdoc */ public function run() { if ($this->hasModel()) { $this->value = Html::getAttributeValue($this->model, $this->attribute); } $this->_disabled = ArrayHelper::getValue($this->options, 'disabled', false); if ($this->asDropdown) { $this->initDropdown(); } $this->registerInputAssets(); parent::run(); }