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

Rename system-field[-tree] collection prop to collectionName #18193

Merged

Conversation

hanneskuettner
Copy link
Contributor

Fixes #18192

Additionally I applied the same fix to system-field-tree.

Internally both were always configured with collectionField and never with collection so no change needed.

Only interface-system-field was once used directly so I changed the prop accordingly and verified its working. It being used directly instead of through a form-field-interface was the only reason it worked there in the first place.

Since it definitely wasn't working before when using the interface I presume that there are no extensions using the old name.

Copy link
Member

@rijkvanzanten rijkvanzanten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rijkvanzanten rijkvanzanten merged commit 1e271fa into directus:main Apr 14, 2023
5 checks passed
@hanneskuettner hanneskuettner deleted the fix/system-field-collection-prop branch April 14, 2023 20:17
hanneskuettner added a commit to hanneskuettner/directus that referenced this pull request Apr 18, 2023
@rijkvanzanten rijkvanzanten added this to the Next Release milestone Apr 20, 2023
meditadvisors pushed a commit to ciso360ai/directus-mod that referenced this pull request May 13, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

system-field interface does not work with collection option
2 participants