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

Switch case and multivalued section #2196

Open
ClearlyAwesome opened this issue Dec 20, 2021 · 2 comments
Open

Switch case and multivalued section #2196

ClearlyAwesome opened this issue Dec 20, 2021 · 2 comments

Comments

@ClearlyAwesome
Copy link

It would be awesome if you could "Add a new tag" for the multivalued section, return an alert row or a picker row, and then choose an option from that row. That option would then format and/or return that specific type of row.

For example...you add a new row on the multivalued section. An alert row pops up and you choose "Twitter Row" and allows you to add a field row of Twitter format that allows you to input your Twitter handler.

You add a second row, same alert row pops up, but this time you choose "Phone row" and it adds the row into the same section but formats the new row to that selected option.

Not sure if that makes sense. But that would be awesome. Great work!!

@mats-claassen
Copy link
Member

I think this could be implemented by subclassing GenericMultivaluedSection and overriding the initialize method to implement that functionality. See the implementation of GenericMultivaluedSection to see the current functionality

@ClearlyAwesome
Copy link
Author

I'll give it a try. Thanks.

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

No branches or pull requests

2 participants