Customisable Dropdown
Suggestion Based on the docs, it looks like we csn customise almost every part of the json tree itself. However, it seems like the dropdown doesn't accept custom components. It would be nice to be able to supply our own dropdown component when adding new keys.
Use case
- We have a list of thousands of elements and might want to add virtualisation if it grows too slow
- We have a consistent ui theme and it currently clashes with the ux of it and so providing our own would be nice
- We have a slightly custom use case where we want our dropdown view to behave the exact same as another we have, so being able to customise would be very helpful.
Thank you!
Hey, thanks for the suggestion. I guess in principle this should be possible -- however, the component currently just uses the native HTML <select> element, so it is style-able to some extent, though it's ultimately controlled by the browser, and they all look a bit different.
I could probably make this be a custom element, though it would need to be structured to have exactly the same API as the native select.
I'll have a play around with it and see how it goes. Will keep you posted.