After signing up the user has “Account Status” field and when you register it automatically sets it “Active”. I created a form for users so that I’ll be able to change the user details, but every time I change something it doesn’t change.
Ex. I edited the account_status into Inactive but still remains Active
<?= $form->field($model, 'account_status')->dropDownList(
[
'Active' => 'Active',
'Inactive' => 'Inactive',
],
['prompt' => 'Change Account Stats']
) ?>