File tree 4 files changed +20
-12
lines changed
4 files changed +20
-12
lines changed Original file line number Diff line number Diff line change 4
4
< meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
5
5
< meta charset ="utf-8 ">
6
6
< title > Demo of vue-form-generator</ title >
7
- < link rel ="stylesheet " type ="text/css " href ="../../dist/vue-form-generator .css ">
7
+ < link rel ="stylesheet " type ="text/css " href ="../../dist/vfg-core .css ">
8
8
9
9
< style >
10
10
html {
@@ -97,7 +97,7 @@ <h1 class="text-center">Submit the form</h1>
97
97
98
98
</ div >
99
99
< script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.10/vue.min.js "> </ script >
100
- < script type ="text/javascript " src ="../../dist/vue-form-generator .js "> </ script >
100
+ < script type ="text/javascript " src ="../../dist/vfg-core .js "> </ script >
101
101
< script type ="text/javascript " src ="./main.js "> </ script >
102
102
</ body >
103
103
</ html >
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ var vm = new Vue({
42
42
schema : {
43
43
fields : [
44
44
{
45
- type : "text" ,
45
+ type : "input" ,
46
+ inputType : "text" ,
46
47
label : "ID" ,
47
48
model : "id" ,
48
49
inputName : "id" ,
@@ -51,7 +52,8 @@ var vm = new Vue({
51
52
disabled : true
52
53
} ,
53
54
{
54
- type : "text" ,
55
+ type : "input" ,
56
+ inputType : "text" ,
55
57
label : "Name" ,
56
58
model : "name" ,
57
59
inputName : "name" ,
@@ -63,7 +65,8 @@ var vm = new Vue({
63
65
validator : VueFormGenerator . validators . string
64
66
} ,
65
67
{
66
- type : "password" ,
68
+ type : "input" ,
69
+ inputType : "password" ,
67
70
label : "Password" ,
68
71
model : "password" ,
69
72
inputName : "password" ,
@@ -73,7 +76,8 @@ var vm = new Vue({
73
76
validator : VueFormGenerator . validators . string
74
77
} ,
75
78
{
76
- type : "email" ,
79
+ type : "input" ,
80
+ inputType : "email" ,
77
81
label : "E-mail" ,
78
82
model : "email" ,
79
83
inputName : "email" ,
Original file line number Diff line number Diff line change 4
4
< meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
5
5
< meta charset ="utf-8 ">
6
6
< title > Demo of vue-form-generator</ title >
7
- < link rel ="stylesheet " type ="text/css " href ="../../dist/vue-form-generator .css ">
7
+ < link rel ="stylesheet " type ="text/css " href ="../../dist/vfg-core .css ">
8
8
9
9
< style >
10
10
html {
@@ -95,7 +95,7 @@ <h1 class="text-center">Demo of vue-form-generator</h1>
95
95
96
96
</ div >
97
97
< script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.10/vue.min.js "> </ script >
98
- < script type ="text/javascript " src ="../../dist/vue-form-generator .js "> </ script >
98
+ < script type ="text/javascript " src ="../../dist/vfg-core .js "> </ script >
99
99
< script type ="text/javascript " src ="./main.js "> </ script >
100
100
</ body >
101
101
</ html >
Original file line number Diff line number Diff line change @@ -45,15 +45,17 @@ var vm = new Vue({
45
45
schema : {
46
46
fields : [
47
47
{
48
- type : "text" ,
48
+ type : "input" ,
49
+ inputType : "text" ,
49
50
label : "ID" ,
50
51
model : "id" ,
51
52
readonly : true ,
52
53
featured : false ,
53
54
disabled : true
54
55
} ,
55
56
{
56
- type : "text" ,
57
+ type : "input" ,
58
+ inputType : "text" ,
57
59
label : "Name" ,
58
60
model : "name" ,
59
61
readonly : false ,
@@ -64,7 +66,8 @@ var vm = new Vue({
64
66
validator : VueFormGenerator . validators . string
65
67
} ,
66
68
{
67
- type : "password" ,
69
+ type : "input" ,
70
+ inputType : "password" ,
68
71
label : "Password" ,
69
72
model : "password" ,
70
73
min : 6 ,
@@ -73,7 +76,8 @@ var vm = new Vue({
73
76
validator : VueFormGenerator . validators . string
74
77
} ,
75
78
{
76
- type : "email" ,
79
+ type : "input" ,
80
+ inputType : "email" ,
77
81
label : "E-mail" ,
78
82
model : "email" ,
79
83
placeholder : "User's e-mail address" ,
You can’t perform that action at this time.
0 commit comments