aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Components
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Components')
-rw-r--r--js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
index 4a0ac2b5..987cd6b5 100644
--- a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
+++ b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
@@ -164,6 +164,7 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component
164 row.prop = props.name; 164 row.prop = props.name;
165 row.defaultValue = props["default"]; 165 row.defaultValue = props["default"];
166 row.label = props.name; 166 row.label = props.name;
167 row.items = props.possibleValues;
167 168
168 section.Section.push([row]); 169 section.Section.push([row]);
169 } 170 }
@@ -192,6 +193,8 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component
192 return "textbox"; 193 return "textbox";
193 case "boolean": 194 case "boolean":
194 return "checkbox"; 195 return "checkbox";
196 case "select":
197 return "dropdown";
195 default: 198 default:
196 alert("Conversion not implemented for ", type); 199 alert("Conversion not implemented for ", type);
197 } 200 }