File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,25 @@ let vm = new Vue({
35
35
{
36
36
key: ' name' ,
37
37
type: ' input' ,
38
- label: ' Your name'
38
+ templateOptions: {
39
+ label: ' Your name'
40
+ }
39
41
},
40
42
{
41
43
key: ' sex' ,
42
44
type: ' select' ,
43
- label: ' Sex' ,
44
- options: [' Male' , ' Female' ]
45
+ options: [' Male' , ' Female' ],
46
+ templateOptions: {
47
+ label: ' Sex'
48
+ }
49
+
45
50
},
46
51
{
47
52
key: ' comments' ,
48
53
type: ' textarea' ,
49
- label: ' Comments'
54
+ templateOptions: {
55
+ label: ' Comments'
56
+ }
50
57
}
51
58
]
52
59
},
@@ -145,4 +152,4 @@ These should be added to the `templateOptions` property. Some input types may ha
145
152
* [x] Custom attributes
146
153
* [x] Custom Classes
147
154
* [x] Custom events
148
- * [ ] Handle errors & error classes
155
+ * [ ] Handle errors & error classes
You can’t perform that action at this time.
0 commit comments