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

Include REFERENCE_TABLE and make PropertyFormItemEditConfig abstract #710

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

dnlkoch
Copy link
Member

@dnlkoch dnlkoch commented Jun 26, 2023

Description

This adds the component type REFERENCE_TABLE to the available feature attributes fields. It can be used to configure a 1:n relationship of the given field. Example:

{
  "propertyName": "nutzungen",
  "displayName": "Nutzungen",
  "component": "REFERENCE_TABLE",
  "tablePropertyName": "Beschreibung",
  "editFormConfig": [
    {
      "propertyName": "id",
      "displayName": "ID",
      "component": "NUMBER",
      "readOnly": true
    },
    {
      "propertyName": "Beschreibung",
      "displayName": "Beschreibung",
      "component": "TEXTAREA",
      "required": true
    }
  ]
}

Please review @terrestris/devs.

Related issues or pull requests

Pull request type

  • Bugfix
  • Feature
  • Dependency updates
  • Tests
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe)

Do you introduce a breaking change?

  • Yes
  • No

Checklist

  • I understand and agree that the changes in this PR will be licensed under the
    Apache Licence Version 2.0.
  • I have followed the guidelines for contributing.
  • The proposed change fits to the content of the code of conduct.
  • I have added or updated tests and documentation, and the test suite passes (run mvn test locally).
  • I have added a screenshot/screencast to illustrate the visual output of my update.

@dnlkoch
Copy link
Member Author

dnlkoch commented Sep 15, 2023

Thanks for the review!

@dnlkoch dnlkoch merged commit f6b329a into main Sep 15, 2023
4 checks passed
@dnlkoch dnlkoch deleted the init-reference branch September 15, 2023 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants