You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to create a field in an edit view that has:
Death | field: number of deaths | reference to causality entity as a dropdown: cause Injury | field: number of injuries | reference to causality entity as a dropdown: cause Punishment | field: number of punishments | reference to penalties entity as a dropdown: penalty
Hi there,
Firstly, thanks for the great software.
Secondly, this is a question more than an issue. I have the following data model:
Event
Causality
Punishment
I want to create a field in an edit view that has:
Death | field: number of deaths | reference to causality entity as a dropdown: cause
Injury | field: number of injuries | reference to causality entity as a dropdown: cause
Punishment | field: number of punishments | reference to penalties entity as a dropdown: penalty
I tried to create the following:
In
config.js
However, when I tired to get the
field.choices()
in thedata-edit
directive, it returns an empty list, but it should contain entries.I'm not sure if I'm going about this in the right way.
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: