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

[4.x] Only suggest fields in the same replicator set #9663

Merged
merged 4 commits into from Mar 4, 2024

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Mar 4, 2024

Closes #9603

This PR passes along the current section where the suggestable fields are going to be used. This allows us to override the logic depending on a section.

When configuring a replicator, a section is a set. Inside SetsFieldtype, we'll accept that set and just use the fields on it.

Everywhere else, it continues to use the existing logic:

  • standard "get all fields from all tabs" logic for top level fields
  • "get all fields in this fieldset" when editing a fieldset
  • etc

@jasonvarga jasonvarga merged commit bb7cdec into 4.x Mar 4, 2024
33 checks passed
@jasonvarga jasonvarga deleted the suggestable-condition-fields branch March 4, 2024 16:18
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.

Conditional field dropdown includes fields from other sets in Replicator
1 participant