Closed
Bug 710113
Opened 13 years ago
Closed 6 years ago
Support boolean pref groups for simple-prefs
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: erikvvold, Unassigned)
References
Details
This was suggested in the mailing list:
"I want to have a input(checkbox) that has sub-inputs and when the input is unchecked the sub-inputs get disabled."
I'm thinking that we could provide a new type called "boolgroup" which contains an array of any pref types which are all disabled if the bool root pref is disabled, and all enabled if the pref is enabled.
So json would look like:
"preferences": [{
"name": "prefgroup",
"type": "boolgroup",
"title": "This is a group of prefs:",
"value": false,
"children": [{
"name": "pref",
"title": "Some pref",
"type": "string",
"value": ""
}]
}]
so "pref" would exist but appear disabled in the EM.
Priority: -- → P2
Updated•13 years ago
|
Assignee: nobody → evold
Updated•12 years ago
|
Blocks: sdk/simple-prefs
Updated•12 years ago
|
Assignee: evold → nobody
Whiteboard: [good first bug]
Comment 1•11 years ago
|
||
currently the expected way to do this would be in options_xul.py, but since python code is going away (hopefully) soon, maybe this isn't a "good first bug", and also maybe it should be re-triaged..
Updated•11 years ago
|
Priority: P2 → --
Updated•11 years ago
|
Whiteboard: [good first bug]
Priority: -- → P2
Comment 3•6 years ago
|
||
Add-on SDK is no longer supported so resolving bugs as INCOMPLETE
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•