add $attribute to use the widget in ActiveForm

<?= $form->field($model, 'status')->widget(\mcms\xeditable\XEditableSelect::className(),[
        'model' => $model,
        'placement' => 'right',
        'pluginOptions' => [
            'name' => 'status',
            'source'=>[
                ['value'=>1,
                    'text'=>Yii::t('app','On')],
                ['value'=>0,
                    'text'=>Yii::t('app','Off')]
            ],
        ],
    ]) ?>
add .idea to ignore for phpstorm