Skip to content

Commit f19ec5f

Browse files
committed
Remove unused properties
1 parent 7d776b7 commit f19ec5f

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/input-tags.component.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ class InputTags {
2424
this.maxLength = this.maxLength || MAX_SAFE_INTEGER;
2525
}
2626

27-
inputText(value) {
28-
if (angular.isDefined(value)) {
29-
this.text = value;
30-
}
31-
return this.text || '';
32-
}
33-
3427
track(tag) {
3528
return tag[this.keyProperty || this.displayProperty];
3629
}

src/input-tags.template.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
placeholder="{{$ctrl.placeholder}}"
2323
spellcheck="{{$ctrl.spellcheck}}"
2424
data-ng-disabled="$ctrl.disabled"
25-
data-ng-model="$ctrl.inputText"
26-
data-ng-model-options="{getterSetter: true}"
2725
data-ng-focus="$ctrl.triggerFocus($event)"
28-
data-ng-blur="$ctrl.triggerBlur($event)"
29-
data-ng-paste="$ctrl.inputPaste($event)">
26+
data-ng-blur="$ctrl.triggerBlur($event)">
3027
</div>

0 commit comments

Comments
 (0)