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] Prevent configuring multiple conditions for the same field #9199

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Dec 13, 2023

This pull request prevents you configuring multiple conditions for the same field in the blueprint/fieldset builder.

Previously, the "Field" dropdown in the builder allowed you to select fields even if they already had conditions configured against them. Then, when you saved the field, only one of the multiple conditions would actually be saved.

This PR prevents you from doing that until we implement the ability to configure multiple conditions for the same field (see statamic/ideas#1101).

Fixes #6008.

@duncanmcclean duncanmcclean merged commit 36531fe into 4.x Dec 14, 2023
35 checks passed
@duncanmcclean duncanmcclean deleted the fix/prevent-configuring-multiple-conditions-for-the-same-field branch December 14, 2023 10:38
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.

Conditionals on Field Not Persisting Correctly
1 participant