Prevent input device to submit angularjs form

后端 未结 1 1426
死守一世寂寞
死守一世寂寞 2021-01-28 23:09

I\'m developing an application where an input text field will get populated by a scanner scanning in a barcode.

The problem is that when the scanner scans, it submits th

相关标签:
1条回答
  • 2021-01-29 00:01

    Just change button type from "submit" to "button" and it will prevent auto submission.

    0 讨论(0)
提交回复
热议问题