-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[SelectField] Composeable Items. #2380
Comments
I'm wondering if this couldn't be applied to the |
I think if we use react-list we wouldn't need to worry about performance here. You can have at most 10 items in view. |
Well, I'm assuming that we can find a way to make them work together with this new |
Hmmmm, I guess this needs more thought and community feedback then. |
@subjectix @oliviertassinari I definitely think that this would be a better way of using @subjectix can you elaborate more on @oliviertassinari regarding performance, is it really that bad? If we implement a |
I'll try to work out the semantics for this.
@shaurya947 That was just for show, wanted to express the capabilities it can provide. Something like categorization within the SelectField's Menu. |
I really like this idea. I also noticed that with the new popover teleportation feature. It's really hard to test a SelectField. |
@oliviertassinari Yeah >.> it is. that's why we have to do something about it all. I very much like the idea @newoga proposed in #2416. |
I think all combo boxes especially the
SelectField
component should be composeable instead of requiring an object to generate their items from.don't you think this is better:
This will provide a huge flexibility (value can be anything comparable) and payload can be anything. Besides many other customizations will also be possible.
Thoughts? @oliviertassinari @shaurya947
The text was updated successfully, but these errors were encountered: