generator-builder
generator-builder copied to clipboard
dropdown for the foreign key (from other table) from GUI
I have categories (id, name ) model Category I have posts (id,name,cat_id.) model Post
In GUI, cat_id integer (no validation) select (foreign key checked) categories,id
Add relationship Many to one Category id cat_id (local)
I want to get drop down for categories in post form.
i see in Model some links are created and in mysql table (foreign keys are established) but nothing on views. just plain text or select with out options
doing that not possible?
There is no feature for select linked to the model, but you can use from CLI to generate that select linked to the model