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

The document field relatedTo is repeated three times in the list of field to be added, in the editor #2061

Closed
iGormilhit opened this issue Jun 22, 2021 · 0 comments · Fixed by #2085
Assignees
Labels
bug Breaks something but is not blocking f: editor Concerns editor based on JSON schema AND custom editor

Comments

@iGormilhit
Copy link

Describe the bug

In an empty document editor, when searching in the list of field that can be added, either for "related" in English or "lié" in French, there's three results instead of one. Once you've selected one, there's is only two left, then one, then none. In the editor, the added field are exactly the same.

To Reproduce

  1. Log in as a professional.
  2. Navigate to professional/records/documents/new.
  3. In the list of field to be added, search for the relatedTo field.

Expected behavior

Only one field should be possible to be added. The field itself is an array.

Context

Screenshots

ksnip_20210622-083052

@iGormilhit iGormilhit added f: editor Concerns editor based on JSON schema AND custom editor bug Breaks something but is not blocking labels Jun 22, 2021
@iGormilhit iGormilhit mentioned this issue Jun 22, 2021
13 tasks
rerowep added a commit to rerowep/rero-ils that referenced this issue Jun 28, 2021
* Closes rero#2061.

Co-Authored-by: Peter Weber <[email protected]>
rerowep added a commit to rerowep/rero-ils that referenced this issue Jun 28, 2021
* Closes rero#2061.

Co-Authored-by: Peter Weber <[email protected]>
rerowep added a commit to rerowep/rero-ils that referenced this issue Jun 28, 2021
* Closes rero#2061.

Co-Authored-by: Peter Weber <[email protected]>
@rerowep rerowep self-assigned this Jun 28, 2021
rerowep added a commit that referenced this issue Jun 29, 2021
* Closes #2061.

Co-Authored-by: Peter Weber <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking f: editor Concerns editor based on JSON schema AND custom editor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants