generator-builder icon indicating copy to clipboard operation
generator-builder copied to clipboard

dropdown for the foreign key (from other table) from GUI

Open sanjaylama opened this issue 4 years ago • 1 comments

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?

sanjaylama avatar Jan 18 '21 07:01 sanjaylama

There is no feature for select linked to the model, but you can use from CLI to generate that select linked to the model

RayhanYulanda avatar May 04 '21 06:05 RayhanYulanda