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

[5.x] Query Scopes config option: show available query scopes in dropdown #9933

Open
wants to merge 4 commits into
base: 5.x
Choose a base branch
from

Conversation

duncanmcclean
Copy link
Member

This pull request makes a small improvement to the "Query Scopes" config option on some of our fieldtypes.

Previously, when you clicked into the config option's input, a dropdown would appear. However, it'd never actually show any dropdown options.

CleanShot 2024-04-19 at 14 26 00

This could be confusing for some developers - leading to them thinking they did something wrong when creating the query scope, causing it to not appear. But in fact, it was just showing no options because we hadn't hooked up any options to it.

This PR adds all of the available query scopes as dropdown options. It also makes the relevant changes to the Taggable fieldtype to allow for options to be passed in.

CleanShot 2024-04-19 at 14 25 39

@duncanmcclean duncanmcclean changed the title [4.x] Show options for query scopes config options [4.x] Query Scopes config option: show available query scopes in dropdown Apr 19, 2024
@duncanmcclean duncanmcclean changed the base branch from 4.x to 5.x May 9, 2024 16:13
@duncanmcclean duncanmcclean changed the title [4.x] Query Scopes config option: show available query scopes in dropdown [5.x] Query Scopes config option: show available query scopes in dropdown May 9, 2024
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.

None yet

1 participant