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

Add support for best guess for relationship display fields #140

Closed
octgsoftware opened this issue Nov 29, 2022 · 2 comments
Closed

Add support for best guess for relationship display fields #140

octgsoftware opened this issue Nov 29, 2022 · 2 comments

Comments

@octgsoftware
Copy link
Contributor

Displaying the id for select boxes and in columns is currently the Jhipster default behavior.

The majority of my entities have a unique constraint on a single column. Picking a column with the lowest ordinal position and a unique constraint as the display field would take care of the vast majority of my cases.

See JDL Relationship Syntax for how to specify the display field on relationships.

@Blackdread
Copy link
Owner

Makes sense to implement a logic to select the display field

@octgsoftware
Copy link
Contributor Author

Fixed by #143

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