Visibility setting for widget properties and other means to make widget property settings dynamic
Currently it is not possible to have a visibility condition for widget properties in MVC widgets.
It is also not possible to dynamically add property-attributes based on code.
In case where I have a checkbox to have a slightly modified version of the same widget I want to have extra fields appear (similar to how that is possible for the form builder or page fields)
Thank you for the suggestion and comments!
We are considering an extension for widget properties that would mimic the “depending fields” functionality found in the classical form engine.
Having some of the most common real-life scenarios where you were used to implementing this would greatly help us validate our approach.
Dražen Janjiček commented
Trevor J Fayas commented
Agreed, would be nice to have without having to create multiple versions of a widget.
Rory Aherne commented
And not just visibility but also whether the field is enabled (as is currently available in Portal Engine)