vue.js v-model on input can not differentiate between empty input and invalid input

后端 未结 0 1269
深忆病人
深忆病人 2020-11-21 23:42

I am trying to validate some input data (e.g. number) on an input-tag connected to some data via v-model.

The problem is, if I have invalid data (e.g. "1e")

相关标签:
回答
  • 消灭零回复
提交回复
热议问题