Feature Proposal: Introducing a 'MultiSelect' Component for Enhanced Selection #1070
junaid-ahmad
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I hope you're all doing great! I have an exciting proposal to share with you today, which I believe will significantly improve the functionality of our library. As you know, our current "Select" component allows users to choose only one option at a time. While it has been useful for various use cases, I'd like to introduce the idea of creating a new component, "MultiSelect," that would allow users to select multiple options simultaneously.
The advantage of having a dedicated "MultiSelect" component is that it will provide users with more flexibility and control when dealing with situations that require selecting multiple items. This new component can work harmoniously with the existing "Select" component, providing a comprehensive selection solution for a broader range of applications.
By maintaining a clear separation between the single-select and multi-select functionalities, we ensure that each component remains focused, concise, and easier to maintain. Additionally, this approach adheres to the principle of keeping components modular and reusable, promoting a clean and scalable codebase.
I suggest we follow a similar design philosophy as the "react-select" library, which has successfully implemented a separate "MultiSelect" component alongside their single-select offering. This design pattern has been well-received and proven its effectiveness in various real-world scenarios.
Before proceeding, I'd love to hear your thoughts on this proposal. Do you agree that introducing a "MultiSelect" component is a step in the right direction? Are there any concerns or alternative ideas that you'd like to share?
Let's use this discussion as an opportunity to gather feedback from the entire team and ensure that we collectively make the best decision for the future of our library.
Looking forward to your input!
Beta Was this translation helpful? Give feedback.
All reactions