Allow input-debounce input
This commit is contained in:
1 parent
33ddd033f2
commit
35f9989255
2 files changed
+3
-2
No files matched your search
@@ -24,7 +24,8 @@ export class InputDebounceComponent {
|
||||
@Output()
|
||||
value: EventEmitter<string> = new EventEmitter<string>()
|
||||
|
||||
public inputValue: string;
|
||||
@Input()
|
||||
inputValue: string;
|
||||
|
||||
constructor(private elementRef: ElementRef) {
|
||||
fromEvent(elementRef.nativeElement, 'keyup').pipe(
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
<div class="input-group-prepend">
|
||||
<div class="input-group-text">{{pagesInputLabel}}:</div>
|
||||
</div>
|
||||
<app-input-debounce delay="500" classes="form-control-sm" placeholder="All" tooltip="e.g. 1-3,5" (value)="pagesFieldChange($event, d, i)"></app-input-debounce>
|
||||
<app-input-debounce delay="500" classes="form-control-sm" placeholder="All" tooltip="e.g. 1-3,5" [inputValue]="d.pages?.join(',')" (value)="pagesFieldChange($event, d, i)"></app-input-debounce>
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-outline-primary" type="button" (click)="choosePages(d, i)">
|
||||
<svg width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor">
|
||||
|
||||
Reference in new issue
Block a user