File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
6
6
< title > vue-numeric demo</ title >
7
7
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.5.1/css/bulma.min.css ">
8
+ < style >
9
+ [v-cloak ] {
10
+ display : none;
11
+ }
12
+ </ style >
8
13
</ head >
9
14
< body >
10
- < div id ="app ">
15
+ < div id ="app " v-cloak >
11
16
< section class ="hero is-primary is-bold ">
12
17
< div class ="hero-body ">
13
18
< div class ="container ">
@@ -60,19 +65,19 @@ <h1 class="title is-4">
60
65
< div class ="column is-12 ">
61
66
< p class ="control ">
62
67
< label class ="label "> Minimum Value </ label >
63
- < input class ="input " type ="number " v-model ="minValue ">
68
+ < input class ="input " type ="number " v-model.number ="minValue ">
64
69
</ p >
65
70
</ div >
66
71
< div class ="column is-12 ">
67
72
< p class ="control ">
68
73
< label class ="label "> Maximum Value </ label >
69
- < input class ="input " type ="number " v-model ="maxValue ">
74
+ < input class ="input " type ="number " v-model.number ="maxValue ">
70
75
</ p >
71
76
</ div >
72
77
< div class ="column is-12 ">
73
78
< p class ="control ">
74
79
< label class ="label "> Decimals digits </ label >
75
- < input class ="input " type ="number " v-model ="decimals ">
80
+ < input class ="input " type ="number " v-model.number ="decimals ">
76
81
</ p >
77
82
</ div >
78
83
< div class ="column is-12 ">
You can’t perform that action at this time.
0 commit comments