Reputation: 3317
In the AngularJs module Smart-Table is it possible to force st-search="column" to only trigger on blur?
Upvotes: 0
Views: 210
Reputation: 16540
The st-input-event attribute will override the default to trigger on blur
<input st-search="firstName" st-input-event="blur" type="search"/>
Upvotes: 1
Reputation: 959
You can create a custom input like this:
<input st-search="firstName" placeholder="search for firstname" class="input-sm form-control" type="search" ng-model-options="{ updateOn: 'blur' }" />
with ng-model-options you can setup alot of configuration and one of these is the updateOn
, also you can use in a entire form!
Upvotes: 2