Depending package config options?


Hey guys,

I was wondering about if there is a possibility to make package config options depend on some other.
For example there is configOne which is a boolean and configTwo which is a string input.
Now configTwo should only be shown or enabled if configOne is checked, because it is an option that configures parts of the with configOne enabled feature

Is this somehow achievable?
Wouldn’t make a difference if both are shown all the time but it would be a nice UX feature.

Thanks in advance, MCStreetguy