The aria-disabled and aria-selected props will now be set to false, instead of being undefined. If you previously used CSS selectors based on attribute presence, you will now need to use the attribute value.
/* Before */
[aria-disabled] {}
:not([aria-disabled]) {}
/* After */
[aria-disabled="true"] {}
[aria-disabled="false"] {}
context
upgrading to cmdk v1.x (
3684199
) brokeCommand
component, which also impactedCombobox
componentmain
main
the fix
comment with elaborated solution
https://github.com/shadcn-ui/ui/issues/2980#issuecomment-2029267475
cmdk v1.0.0 release notes: