Dynamically Changes Properties Tab/Group

Let’s Say a given property has a select options. Based on a selected options using the setter can we push a new set of properties to the same group or may be push a new group part of the same tab dynamically.

Forum Reference or a sample code of such thing if available could be helpful.

Can you maybe explain, what you already tried?

I think dynamically adding new groups / tabs based on a selection is hard to achieve. Basically, on any change, the properties panel is collecting all tabs based on the selected element and its properties. So if your select is setting a property, it would be basically possible to control which entries are being displayed.

For example, take the script.

image

Given the selection you made, it will display a different part below. This is handled via the data-show attribute of each field.