protected function initInputWidget()
    {
        $this->initI18N(__DIR__, 'onix-core');
        if (!isset($this->language)) {
            $this->language = Yii::$app->language;
        }

        $this->_lang = Env::getLang($this->language);

        if ($this->pluginLoading) {
            $this->_loadIndicator = static::getLoadProgress();
        }

        if ($this->hasModel()) {
            $this->name = !isset($this->options['name']) ? Html::getInputName($this->model, $this->attribute) : $this->options['name'];
            $this->value = !isset($this->options['value'])? Html::getAttributeValue($this->model, $this->attribute) : $this->options['value'];
        }

        $this->initDisability($this->options);
    }