Skip to content
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

Tuple editor #47

Open
2 of 6 tasks
skttl opened this issue Sep 6, 2024 · 1 comment
Open
2 of 6 tasks

Tuple editor #47

skttl opened this issue Sep 6, 2024 · 1 comment

Comments

@skttl
Copy link
Contributor

skttl commented Sep 6, 2024

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?

  • Back-office
  • Developer Tools
  • Front-end
  • Starter Kits
  • Misc

Code of Conduct

  • I agree to follow this project's Code of Conduct.
@leekelleher
Copy link
Owner

For inspiration, here's the source code for the Tuple editor for Umbraco 7:
https://github.com/umco/umbraco-tuple/tree/develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants