I have this code can anyone tell what i am doing wrong
$this->form[] = ['label'=>'Brand','name'=>'id_brand','type'=>'select2','validation'=>'required|integer|min:0','width'=>'col-sm-10','datatable'=>'fms_brands,brand'];
$this->form[] = ['label'=>'Brand Model','name'=>'id_brandmodel','type'=>'select2','validation'=>'required','width'=>'col-sm-10','parent_select'=>'id_brand','datatable'=>'fms_brandmodel,id,id_brand','datatable_format'=>"model,' - ',year"];
and I would prefer to have id from fms_brandmodel in the value not the text from datatable_format and how can I make them multi select
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire