Query Loop block: switch 'Post type' inspector setting to use radio buttons when there are few items #63374
Labels
[Block] Query Loop
Affects the Query Loop Block
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
The Query Loop block's post type setting displays as a dropdown when, by default, there are only two post types to select from (
Post
andPage
). While dropdowns are useful for avoiding visual clutter when there are many options to choose from, when there are few items, they require an extra click with no advantages.What is your proposed solution?
Using a RadioControl instead of a SelectControl when there are only two items.
The text was updated successfully, but these errors were encountered: