Support dynamic changes to setting-group config
Categories
(Firefox :: Settings UI, task, P3)
Tracking
()
People
(Reporter: mstriemer, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
We have at least one case where the SettingGroup should be configured differently based on some prefs. For Firefox Suggest/Address bar we want the label/description/supportPage to be different if Suggest is enabled
For a SettingControl, we'd use the Setting object to define a getControlConfig, but we don't currently support a Setting controlling a SettingGroup. We could potentially add support for Setting and getControlConfig for a group, we also have some cases where we want to hide an entire group, currently that logic is handled by checking its child SettingControls, and if they're all hidden the group gets hidden.
As a workaround the Search team is making a moz-fieldset as the only child of the Suggest group, and it has a Setting with a getControlConfig to change the properties.
Updated•16 hours ago
|
Description
•