When creating type="number" input, it getting '+' or '-' characters. I want to prevent it. However when I tried to watch every state changed on input value, it does not show '+' or '-' characters.
input:
<b-form-input
v-model="port"
type="number"
>
and watch:
watch: {
port(val){
console.log("val ", val)
}
},
For example when I write '564+-' to the input then the watch just can follow '564'. How can prevent minus and plus characters?