Fix bug when entering nInput
authorBenjamin Auder <benjamin.auder@somewhere>
Wed, 24 Jan 2018 18:45:33 +0000 (19:45 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Wed, 24 Jan 2018 18:45:33 +0000 (19:45 +0100)
index.html

index 4156c00..5ee5715 100644 (file)
@@ -14,7 +14,7 @@
                                <div class="col s12">
                                        <form class="center">
                                                <div class="input-field inline">
-                                                       <input id="nInput" type="number" v-model="nInput" @change="reinitialize()">
+                                                       <input id="nInput" type="number" v-model.number="nInput" @change="reinitialize()">
                                                        <label for="nInput">Number of inputs</label>
                                                </div>
                                                <span class="leftSpacing">