Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sanjaylama opened this issue Jan 18, 2021 · 1 comment
Open

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

sanjaylama opened this issue Jan 18, 2021 · 1 comment

Comments

@sanjaylama
Copy link

sanjaylama commented Jan 18, 2021

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?

@RayhanYulanda
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants