Permalink
Browse files

fix(filter): fix issue with registering value changes

  • Loading branch information...
VMBindraban
VMBindraban committed Feb 20, 2017
1 parent 78f9e12 commit e1dcc7d8999fb85373f17b1e718732de604b77ba
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/bootstrap/filter.html
@@ -24,7 +24,7 @@
<div class="${field.data.hasError ? 'has-error' : ''}">
<form-field
if.bind="field.value.type !== 'select'"
keypress.delegate="onChange($parent.$index, $index, true) & debounce:50"
keyup.delegate="onChange($parent.$index, $index, true) & debounce:50"
value.bind="field.data.value"
element.bind="field.value">
</form-field>
@@ -38,7 +38,7 @@

<div class="input-group-btn">
<button
class="btn btn-primary add-filter "
class="btn btn-primary add-filter"
if.bind="$last"
click.delegate="create($parent.$index)"
t="${$first ? '+ And' : '+'}">+
@@ -66,12 +66,12 @@
<div class="col-md-4" style="margin-bottom: 15px;">
<form-field
if.bind="field.value.type !== 'select'"
keypress.delegate="onChange($parent.$index, $index, true) & debounce:500"
keyup.delegate="onChange($parent.$index, $index, true) & debounce:50"
value.bind="field.data.between"
element.bind="field.value">
</form-field>
<form-field
change.delegate="onChange($parent.$index, $index, true) & debounce:500"
change.delegate="onChange($parent.$index, $index, true) & debounce:50"
if.bind="field.value.type === 'select'"
value.bind="field.data.between"
element.bind="field.value">

0 comments on commit e1dcc7d

Please sign in to comment.