-
Notifications
You must be signed in to change notification settings - Fork 724
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
[RFR] Introducing the embedded_list field type #714
Conversation
And fix date field formatting, too
The previous version was barely readable. Adding more details about how each field type maps the REST API
Switching to RFR |
Hello :)
Even with a .choice field the value sent to server is "null" in creationView and in Edition. |
I can reproduce the bug with boolean field but not with choice field. For the boolean field bug, maybe it's related to #736, let's see if fixing that one helps. |
@fzaninotto Thanks for the update :). |
[RFR] Introducing the embedded_list field type
The new
embedded_list
type maps an array of objects inside an entry, e.g.You can now map the
comments
field:This will display in the show view as a datagrid, exactly like
referenced_list
.And in an editionView like nested forms:
Of course, embedded entries don't require an entity. If they only live inside another entry, simply don't set the
targetEntity
. In that case, there can be nodetailLink
or defaultlistActions
, as there is noEntity
to link to.embedded_list
fields support sorting and filtering:This is a long-requested feature, and it should fix numerous issues (#241, #308, #627, #666)