udos86 / ng-dynamic-forms

Rapid form development library for Angular
ISC License
1.32k stars 369 forks source link

listen to keystroke events on input for autosuggest api callback #1073

Open RobinKamps opened 4 years ago

RobinKamps commented 4 years ago

I'm submitting a


[ ] Bug / Regression
[ ] Feature Request / Proposal

I'm using


NG Dynamic Forms Version: `X.Y.Z`

[ ] Basic UI
[ ] Bootstrap UI  
[ ] Foundation UI
[ ] Ionic UI
[ ] Kendo UI
[ X] Material  
[ ] NG Bootstrap
[ ] Prime NG

Description

just simple question -> how to listen to valueChanges from input on a keystroke?

i guess its due to onPush.

e.g. this code does work on non ng-dynamic-forms

this.filteredAddresses = this.form
      .get('finder')
      .valueChanges
      .pipe(
        // map, debounceTim and switchMap 
     );
RobinKamps commented 4 years ago

multiple other issues are related, due to remove of valueChanges

1029

903

1025