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

Hidden subfield is not selectable #247

Closed
sebdeleze opened this issue Aug 31, 2020 · 1 comment
Closed

Hidden subfield is not selectable #247

sebdeleze opened this issue Aug 31, 2020 · 1 comment
Assignees
Labels
f: editor Concerns editor based on JSON schema AND custom editor

Comments

@sebdeleze
Copy link

Describe the issue
Following this structure:

"publication": {
    "title": "Publication",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "startDate": {
            "title": "Start date",
            "type": "string",
            "minLength": 1,
            "form": {
                "hide": true
            }
        },
        "statement": {
            "title": "Statement",
            "type": "string",
            "minLength": 1
        }
    }
}

The startDate field is not displayed by default in the editor, but could be selectable in the dropdown after the parent's label. The dropdown appears well, but contains nothing.

To Reproduce
Steps to reproduce the behavior:

  1. Go to document's editor in SONAR https://sonardev.test.rero.ch/manage/records/documents/new.
  2. Choose Book chapter for document type.
  3. Go to Contained in (host document) section.
  4. Click the dropdown after Publication.
  5. The dropdown is empty.

Expected behavior
The dropdown must contain the choice for adding field Start date.

Screenshots
Capture d’écran 2020-08-31 à 13 03 37

@sebdeleze sebdeleze added the f: editor Concerns editor based on JSON schema AND custom editor label Dec 14, 2020
@sebdeleze
Copy link
Author

Dublicates of #327.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: editor Concerns editor based on JSON schema AND custom editor
Projects
None yet
Development

No branches or pull requests

2 participants