File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 55 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
66 < title > vue-numeric demo</ title >
77 < 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 >
813 </ head >
914 < body >
10- < div id ="app ">
15+ < div id ="app " v-cloak >
1116 < section class ="hero is-primary is-bold ">
1217 < div class ="hero-body ">
1318 < div class ="container ">
@@ -60,19 +65,19 @@ <h1 class="title is-4">
6065 < div class ="column is-12 ">
6166 < p class ="control ">
6267 < 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 ">
6469 </ p >
6570 </ div >
6671 < div class ="column is-12 ">
6772 < p class ="control ">
6873 < 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 ">
7075 </ p >
7176 </ div >
7277 < div class ="column is-12 ">
7378 < p class ="control ">
7479 < 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 ">
7681 </ p >
7782 </ div >
7883 < div class ="column is-12 ">
You can’t perform that action at this time.
0 commit comments