ui
ui copied to clipboard
feat(SelectMenu): add clearable prop to clear the seleted value
๐ Linked issue
Resolves #1057
โ Type of change
- [x] ๐ Documentation (updates to the documentation or readme)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality)
- [x] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Add the clearable
prop for SelectMenu, and you can set clearableIcon
prop to change the clearable icon.
When the SelectMenu has one or more values, the clear button will appear. click the button clear the values.
๐ Checklist
- [x] I have linked an issue or discussion.
- [x] I have updated the documentation accordingly.
I changed the docs file, but it looks unchanged? why?
https://ui-e0q9c1lhx-nuxt-js.vercel.app/components/select-menu
@NMTuan You need to switch to the nuxt/ui-edge
package.
I saw the document content through this link https://ui-e0q9c1lhx-nuxt-js.vercel.app/dev/components/select-menu#clearable
I don't know nuxt/ui-edge
means๏ผhope it won't affect this pull request :)
On the top-left corner, you can switch to the dev
package:
There is a prevision for a realease date?
What else do I need to do?
I think this PR need to be merged ASAP. This feature is really important
When this will be released???
It's a must have. When it will be released?
Sorry, there are some problems with my local environment and network connection. I can't start the local development environment. Can someone take over the subsequent development?