From 5bbb0fec16bbb7dd972077f880f2805c694ed196 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Wed, 24 Jan 2018 19:45:33 +0100 Subject: [PATCH] Fix bug when entering nInput --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 4156c00..5ee5715 100644 --- a/index.html +++ b/index.html @@ -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"> -- 2.44.0