Hey,
i have an Project Entity and Details Entity as 1:n relation. The project has several detail relations. The Details element can have different types depending on the connection name. The type field is a single selection, which is not displayed in the frontend. How can I tell the modal from which connection it was opened to fill the type field automativally?
So For example,
Project has
- a connection with name x to details and it should have type x preselected
- and a connection with the name y to Details and it should have type y preselected.
Alternatively it would not be bad to have a main entity to inherit from. DetailsY inherits from main details and DetailsX inherits from main details. But didn't find anything how to inherit.
i have an Project Entity and Details Entity as 1:n relation. The project has several detail relations. The Details element can have different types depending on the connection name. The type field is a single selection, which is not displayed in the frontend. How can I tell the modal from which connection it was opened to fill the type field automativally?
So For example,
Project has
- a connection with name x to details and it should have type x preselected
- and a connection with the name y to Details and it should have type y preselected.
Alternatively it would not be bad to have a main entity to inherit from. DetailsY inherits from main details and DetailsX inherits from main details. But didn't find anything how to inherit.