Update AngularJS ng-model only on keypress enter?

前端 未结 3 838
日久生厌
日久生厌 2021-02-13 00:24

I have this input field I am using for a search:


There are man

3条回答
  •  灰色年华
    2021-02-13 01:21

    You can try adding ng-model-options="{updateOn : 'change blur'}" to your input tag. Should work.

提交回复
热议问题