Fix regression bug for category select in QueryControls component #24516
Conversation
|
Just ran into this issue with a block that uses this component. |
|
@youknowriad thoughts on this? It's a breaking change. Is there guidance here for if/when this will be merged and/or if the recommended path is something else? |
|
I'm not sure I follow everything here but @draganescu should know more as the original PR author. I added the corresponding labels for Core backports. |
draganescu
left a comment
There was a problem hiding this comment.
Somehow this got away in the PR that should have fixed everything. Thanks @gchtr !
|
was this fixed for 5.5.1? Because I still have the same issue |
|
@faia20 Do you have the Gutenberg plugin enabled or disabled? |
|
|
that's the reason, the fix didn't make it yet to the plugin, if you disable the plugin, it should work. |
you're right! I've disabled and it's working! |
Description
In #23419, backwards compatibility with
<QueryControls>was fixed. However, the<CategorySelect>still misses theonChangeproperty, causing an error when a category is selected from the dropdown:How has this been tested?
I manually tested the fix and I ran
npm run testlocally.Types of changes
Bug fix.
Checklist: