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({
3535 {
3636 key: ' name' ,
3737 type: ' input' ,
38- label: ' Your name'
38+ templateOptions: {
39+ label: ' Your name'
40+ }
3941 },
4042 {
4143 key: ' sex' ,
4244 type: ' select' ,
43- label: ' Sex' ,
44- options: [' Male' , ' Female' ]
45+ options: [' Male' , ' Female' ],
46+ templateOptions: {
47+ label: ' Sex'
48+ }
49+
4550 },
4651 {
4752 key: ' comments' ,
4853 type: ' textarea' ,
49- label: ' Comments'
54+ templateOptions: {
55+ label: ' Comments'
56+ }
5057 }
5158 ]
5259 },
@@ -145,4 +152,4 @@ These should be added to the `templateOptions` property. Some input types may ha
145152* [x] Custom attributes
146153* [x] Custom Classes
147154* [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