/** * @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(); } parent::run(); $this->registerInputAssets(); }
/** * @inheritdoc */ public function run() { parent::run(); $this->registerInputAssets(); }