Vue.js - The Progressive JavaScript Framework. Here we are allowing only decimal and integers but not any other symbol. vue-number-input. u/miniMilton88. //This directive allow numbers, numeric in the input textbox, just type 1234567890 or 1234567890.23 Theory and Practice ≡ About Archives Categories Tags Authors 中文 ไทย [Vue.js] Input Text Element Change Event February 03, 2017 Translation(s): 中文 . Get value of v-for in method on disabled Input. If you want to restrict the field to only positive numbers, you can use the min attribute. Thanks. log in sign up. Probably something with events then. User account menu. Use value and onChange property of input field to allow only numbers in textbox. The defines a field for entering a number.. Use the following attributes to specify restrictions: max - specifies the maximum value allowed; min - specifies the minimum value allowed; step - specifies the legal number intervals; value - Specifies the default value; Tip: Always add the