Yii2 model load does not work as expected
问题 My question may look like the following question: yii2 - model load function does not set some model attributes However, the case here is different due to dealing with Many to Many relation through junction table. For instance, I have three tables, Jobs , Eqtypes and the junction table Eqtype_jobs . I want to relate some Eqtypes to a current Job using simple activeform using multiple select dropDownList . The following is the code that I have in, the controller and the view: //the controller