Skip to content

Commit 17b7434

Browse files
committed
use ng-if for search parameter input to avoid rendering issues and performance
1 parent fba3bd1 commit 17b7434

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### 2.0.0 - unreleased
22
* Support to add search parameters and change search parameter's values via ng-model, fixed issue #7
33
* change main proeprty of package.json to final build in dist folder, fixes #4
4+
* use ng-if for search parameter input to avoid rendering issues and performance
45

56
### 1.1.1 - 03 February 2015
67
* update README with latest changes to dist files in bower package

src/angular-advanced-searchbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
nit-set-focus="searchParam.editMode"
1818
ng-keydown="keydown($event, $index)"
1919
ng-blur="leaveEditMode($index)"
20-
ng-show="searchParam.editMode"
20+
ng-if="searchParam.editMode"
2121
ng-change="searchParamValueChanged(searchParam)"
2222
ng-model="searchParam.value"
2323
placeholder="{{searchParam.placeholder}}" />

0 commit comments

Comments
 (0)