Ernesto Pulgarón
Ernesto Pulgarón
I solved, my mistake, i forget delete the foreing keys from the models, nice done wbraganca!!!
now the update give me a blank page, could anyone help me? ` public function actionUpdate($id) { $model = $this->findModel($id); $modelsResolucion = $model->resolucions; $modelsMedidas = $model->medidas; $modelsDeficiencias = $model->deficiencias; $modelsPHD...
how should be the _controller (actionUpdate & actionCreate) if i want to have two dynamic forms in one view
plz let me see your validaMissao function
thx i solved actionCreate, but now I've been following the example for actionUpdate and i get this when i click on the update button PHP Warning – yii\base\ErrorException Invalid argument...
``` public function actionUpdate($id) { $model = $this->findModel($id); $modelsModelo01 = $model->modelo01; $modelsModelo03 = $model->modelo03s; $modelsModelo04 = $model->modelo04s; // retrieve existing Modelo05 data $oldModelo05Ids = Modelo05::find()->select('planificacion_fk') ->where(['planificacion_fk' => $id])->asArray()->all(); $oldModelo05Ids =...
@asaenzestrada its works thx a lot, but now actionUpdate give me this error PHP Warning – yii\base\ErrorException array_combine(): Both parameters should have an equal number of elements this happends here...
i have the same issue, this is my _form ` ` this is my controller ` public function actionLists($id) { $rows = \app\models\Entidad::find()->where(['orga_fk' => $id])->all(); ``` echo "Selecione una entidad";...
proposed fix doesn't works for me