For creating values of eg <IPublishedContent, string>, a tuple editor is a wrapper for 2 or more existing datatype. The datatypes could in theory be anything, like a block grid and block list (good luck finding a use case for that 😜).
In regards to UI my idea is to make a flexbox with wrapping enabled (could be configurable) , and then just pop the editors in next to each other.
My use case right now is to make a text string editor, with a dropdown next to it, to select heading level.
The value converter should simply return a tuple with each of the datatypes return values.
Which categories would the idea fit?
[X] Back-office
[ ] Developer Tools
[ ] Front-end
[ ] Starter Kits
[ ] Misc
Code of Conduct
[X] I agree to follow this project's Code of Conduct.
Idea summary
For creating values of eg <IPublishedContent, string>, a tuple editor is a wrapper for 2 or more existing datatype. The datatypes could in theory be anything, like a block grid and block list (good luck finding a use case for that 😜).
In regards to UI my idea is to make a flexbox with wrapping enabled (could be configurable) , and then just pop the editors in next to each other.
My use case right now is to make a text string editor, with a dropdown next to it, to select heading level.
The value converter should simply return a tuple with each of the datatypes return values.
Which categories would the idea fit?
Code of Conduct