-
Notifications
You must be signed in to change notification settings - Fork 900
feat(CommandPalette/InputMenu/Select/SelectMenu): unite object matching options #5158
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
base: v4
Are you sure you want to change the base?
Conversation
commit: |
@J-Michalek This prop should also be implemented in Select, SelectMenu and InputMenu no? π€ |
@benjamincanac Hmm there may be more to this than I initially though. The We could also add the |
Indeed, adding a |
by
prop for object matching
@benjamincanac I've added the |
import UKbd from './Kbd.vue' | ||
const props = withDefaults(defineProps<CommandPaletteProps<G, T>>(), { | ||
modelValue: '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this was there for a reason and not to be removed π¬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does ring a bell but it also might be something that has been resolved with the types we have now
Will happily take a look tomorrow, but in general I'm not a super fun of |
The |
π Linked issue
β Type of change
π Description
I found it very useful to be able to compare objects by a certain key or by custom logic as comparison by reference is not always easily achievable.
π Checklist