Preserve node parameters when switching listbox options

The idea is:

Allow persistence of parameters tied to each listbox option in a node. When switching between options, parameters should be saved per selection and restored automatically when returning to a previously chosen option.

My use case:

In some nodes (e.g., IF, HTTP Request, or integrations with multiple modes), switching the listbox option resets all parameters. This makes it hard to experiment with different configurations or compare results without losing previous input.

I think it would be beneficial to add this because:

It would enable safe switching and testing across options without fear of losing work. This is especially valuable during troubleshooting, prototyping, or iterative design, where users may flip between modes often.

Any resources to support this?

n/a — this is a usability improvement based on real-world frustrations.

Are you willing to work on this?

Not directly, but happy to give more context or test if needed.