Why is ng-model-options in INPUT tag not delaying onchange?

I have the following markup

<input type="search" placeholder="Search by customer, material, document, plant, ..."
    ng-model="qt" ng-mode-options="{ updateOn: 'default blur', debounce: {default:3000, blur:10} }"
    ng-change="onQtChange(qt)" type="submit">

In a plunkr it behaves correctly - change is delayed normally but on blur fired immediately. But in ionic, all changes are fired immediately.

What am I missing? Thanks.

You have the directive spelled wrong in the above markup, but it is spelled properly in the plunkr. This could be causing it:

ng-mode-options

that was it, thanks!!

1 Like