diff options
-rwxr-xr-x | js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js | 2 | ||||
-rw-r--r-- | node_modules/components-data/textfield.json | 112 |
2 files changed, 109 insertions, 5 deletions
diff --git a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js index bcb14013..b4eec771 100755 --- a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js +++ b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js | |||
@@ -300,7 +300,7 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component | |||
300 | break; | 300 | break; |
301 | case "select": | 301 | case "select": |
302 | el = NJUtils.makeNJElement("select", "Select", "component"); | 302 | el = NJUtils.makeNJElement("select", "Select", "component"); |
303 | el.elementModel.pi = "SelectPi"; | 303 | el.elementModel.pi = "SelectInputPi"; |
304 | break; | 304 | break; |
305 | case "radioButton": | 305 | case "radioButton": |
306 | el = NJUtils.makeNJElement("input", "Radio Button", "component"); | 306 | el = NJUtils.makeNJElement("input", "Radio Button", "component"); |
diff --git a/node_modules/components-data/textfield.json b/node_modules/components-data/textfield.json index 4f8a1499..7164b8b3 100644 --- a/node_modules/components-data/textfield.json +++ b/node_modules/components-data/textfield.json | |||
@@ -6,16 +6,120 @@ | |||
6 | "name": "Textfield", | 6 | "name": "Textfield", |
7 | 7 | ||
8 | "properties": [ | 8 | "properties": [ |
9 | |||
10 | { | 9 | { |
11 | "name": "value", | 10 | "name": "accept", |
11 | "type": "string", | ||
12 | "default": null | ||
13 | }, | ||
14 | { | ||
15 | "name": "autocomplete", | ||
12 | "type": "string", | 16 | "type": "string", |
13 | "default": "Button" | 17 | "default": "" |
18 | }, | ||
19 | { | ||
20 | "name": "autofocus", | ||
21 | "type": "boolean", | ||
22 | "default": "" | ||
23 | }, | ||
24 | { | ||
25 | "name": "checked", | ||
26 | "type": "boolean", | ||
27 | "default": "" | ||
14 | }, | 28 | }, |
15 | { | 29 | { |
16 | "name": "disabled", | 30 | "name": "disabled", |
17 | "type": "boolean", | 31 | "type": "boolean", |
18 | "default": "false" | 32 | "default": "" |
33 | }, | ||
34 | { | ||
35 | "name": "formaction", | ||
36 | "type": "string", | ||
37 | "default": "" | ||
38 | }, | ||
39 | { | ||
40 | "name": "formenctype", | ||
41 | "type": "string", | ||
42 | "default": "" | ||
43 | }, | ||
44 | { | ||
45 | "name": "formmethod", | ||
46 | "type": "string", | ||
47 | "default": "" | ||
48 | }, | ||
49 | { | ||
50 | "name": "formnovalidate", | ||
51 | "type": "boolean", | ||
52 | "default": "" | ||
53 | }, | ||
54 | { | ||
55 | "name": "formtarget", | ||
56 | "type": "string", | ||
57 | "default": "" | ||
58 | }, | ||
59 | { | ||
60 | "name": "list", | ||
61 | "type": "string", | ||
62 | "default": "" | ||
63 | }, | ||
64 | { | ||
65 | "name": "maxlength", | ||
66 | "type": "number", | ||
67 | "default": "" | ||
68 | }, | ||
69 | { | ||
70 | "name": "multiple", | ||
71 | "type": "boolean", | ||
72 | "default": "" | ||
73 | }, | ||
74 | { | ||
75 | "name": "name", | ||
76 | "type": "string", | ||
77 | "default": "" | ||
78 | }, | ||
79 | { | ||
80 | "name": "pattern", | ||
81 | "type": "string", | ||
82 | "default": "" | ||
83 | }, | ||
84 | { | ||
85 | "name": "placeholder", | ||
86 | "type": "string", | ||
87 | "default": "" | ||
88 | }, | ||
89 | { | ||
90 | "name": "readonly", | ||
91 | "type": "boolean", | ||
92 | "default": "" | ||
93 | }, | ||
94 | { | ||
95 | "name": "required", | ||
96 | "type": "boolean", | ||
97 | "default": "" | ||
98 | }, | ||
99 | { | ||
100 | "name": "selectionDirection", | ||
101 | "type": "string", | ||
102 | "default": "" | ||
103 | }, | ||
104 | { | ||
105 | "name": "size", | ||
106 | "type": "number", | ||
107 | "default": "" | ||
108 | }, | ||
109 | { | ||
110 | "name": "src", | ||
111 | "type": "string", | ||
112 | "default": "" | ||
113 | }, | ||
114 | { | ||
115 | "name": "step", | ||
116 | "type": "number", | ||
117 | "default": "" | ||
118 | }, | ||
119 | { | ||
120 | "name": "value", | ||
121 | "type": "string", | ||
122 | "default": "" | ||
19 | } | 123 | } |
20 | ] | 124 | ] |
21 | } \ No newline at end of file | 125 | } \ No newline at end of file |