marmelab / marmelab/ng-admin

embedded_list reference fields do not work

Open
#786 20 comments 11 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
3.9k
Forks
703
PR merge metrics
No merged PRs in 30d

Description

I have an edit view with an embedded list field that has sub-fields of reference type and they do not work properly. There is no call to the rest api asking for the list in this example.

```
nga.field('editResultsId', 'embedded_list')
.label('Edit Results')
.targetFields([
nga.field('fileSystemId', 'reference')
.label('File System')
.targetEntity(file)
.targetField(nga.field('name'))
.validation({ required: true }),
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The report provides no file or test path; start by reproducing the edit view with an embedded_list containing the fileSystemId reference field shown in the example. Trace the reference and embedded-list request flow, and consider the issue done when the list data and reference choices are requested from the REST API and work in the edit view.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.