Skip to content

[4.x] Prevent configuring multiple conditions for the same field#9199

Merged
duncanmcclean merged 1 commit into
4.xfrom
fix/prevent-configuring-multiple-conditions-for-the-same-field
Dec 14, 2023
Merged

[4.x] Prevent configuring multiple conditions for the same field#9199
duncanmcclean merged 1 commit into
4.xfrom
fix/prevent-configuring-multiple-conditions-for-the-same-field

Conversation

@duncanmcclean

@duncanmcclean duncanmcclean commented Dec 13, 2023

Copy link
Copy Markdown
Member

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
@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