-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat(kmultiselect): add search-placeholder prop [KHCP-13352] #2419
Conversation
✅ Deploy Preview for kongponents-sandbox ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kongponents ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
searchPlaceholder: { | ||
type: String, | ||
default: '', | ||
}, |
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.
Shall we warn users when collapsedContext
is true
but placeholder
is not empty?
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 don't think that's necessary: the default displayed text for both modes is 0 items selected - I don't think we need to specifically point that out.
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.
LGTM
# [9.9.0](v9.8.4...v9.9.0) (2024-09-30) ### Features * **kmultiselect:** add search-placeholder prop [KHCP-13352] ([#2419](#2419)) ([4062052](4062052))
🎉 This PR is included in version 9.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Preview package from this PR in consuming applicationIn consuming application project install preview version of kongponents generated by this PR:
|
Summary
Jira: https://konghq.atlassian.net/browse/KHCP-13352
Changes (KMultiselect):
searchPlaceholder
prop that acts as search input placeholdersearchPlaceholder
prop displays in the trigger element when no items are selectedsearchPlaceholder
sets a placeholder in search input inside multiselect dropdownplaceholder
prop (if has value) is used as trigger element text when no items are selectedplaceholder
andsearchPlaceholder
props documentation