Hello,
I have created a model which has more than one many to many relationship.
When I generate the CRUD for this model, the form will not display anything for many to many relationships. Is this ok? Should I manually add the form controls ?
Hello,
I have created a model which has more than one many to many relationship.
When I generate the CRUD for this model, the form will not display anything for many to many relationships. Is this ok? Should I manually add the form controls ?
Doesn’t required extra Form to code Something wrong in Creating CRUD plz recreate that one
I have a model (e.g. Dealer) with the following relationships:
‘user’ => array(self::BELONGS_TO, ‘User’, ‘user_id’),
‘categories’ => array(self::MANY_MANY, ‘Category’, ‘dealer_category(dealer_id, category_id)’),
When I generated the CRUD files I noticed that create/update forms only contains the field for user.
Should gii also generate form controls for categories ? And what controls should use for them: multi select list, checkboxes, …