liuy97 / ng2-input-autocomplete

angular2 input autocomplete
https://liuy97.github.io/ng2-input-autocomplete/
MIT License
7 stars 5 forks source link

Empty field. Please Help #23

Closed devrvk closed 4 years ago

devrvk commented 4 years ago

Hello! Have a problem...after compile...I click on field but cursor enter on source field and i cann't type text on autocomplete input field :(

liuy97 commented 4 years ago

hi, which angular version and browser do you use?

devrvk commented 4 years ago

Hello!

Angular 8.x

Google Crome with last update

вс, 27 сент. 2020 г., 12:28 liuy97 notifications@github.com:

hi, which angular version and browser do you use?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/liuy97/ng2-input-autocomplete/issues/23#issuecomment-699610592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCF4WL5HKOGJPCXLOQ5QLSH4AVVANCNFSM4R3AXDFA .

devrvk commented 4 years ago

don't working this.inputElement.focus();

liuy97 commented 4 years ago

Thanks. I will investigate it.

liuy97 commented 4 years ago

Hi, I cannot reproduce this bug. But I release a rc version (2.0.0-rc.0) with angular cli 8. Could you test it? @devrvk

devrvk commented 4 years ago

Oh, yes, i can test...

пн, 28 сент. 2020 г., 21:59 liuy97 notifications@github.com:

Hi, I cannot reproduce this bug. But I release a rc version (2.0.0-rc.0) with angular cli 8. Could you test it? @devrvk https://github.com/devrvk

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/liuy97/ng2-input-autocomplete/issues/23#issuecomment-700220867, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCF4TBYZXLZ3M5INAIHIDSIDMH7ANCNFSM4R3AXDFA .

devrvk commented 4 years ago

Where i can download new release?

пн, 28 сент. 2020 г. в 22:13, Roman Kuzmenko devrvk@gmail.com:

Oh, yes, i can test...

пн, 28 сент. 2020 г., 21:59 liuy97 notifications@github.com:

Hi, I cannot reproduce this bug. But I release a rc version (2.0.0-rc.0) with angular cli 8. Could you test it? @devrvk https://github.com/devrvk

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/liuy97/ng2-input-autocomplete/issues/23#issuecomment-700220867, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCF4TBYZXLZ3M5INAIHIDSIDMH7ANCNFSM4R3AXDFA .

liuy97 commented 4 years ago

https://www.npmjs.com/package/ng2-input-autocomplete/v/2.0.0-rc.0

npm i ng2-input-autocomplete@2.0.0-rc.0

devrvk commented 4 years ago

That's works fine! Thank you! But I have last one question, how to dynamic change items?

вт, 29 сент. 2020 г. в 10:34, liuy97 notifications@github.com:

https://www.npmjs.com/package/ng2-input-autocomplete/v/2.0.0-rc.0

npm i ng2-input-autocomplete@2.0.0-rc.0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/liuy97/ng2-input-autocomplete/issues/23#issuecomment-700508866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCF4QJGGEBSXQVKFNYSG3SIGEXDANCNFSM4R3AXDFA .

liuy97 commented 4 years ago

Great. It is simple in Angular. You can assign new array to items. See example in https://github.com/liuy97/ng2-input-autocomplete/blob/master/src/app/app.component.ts

search (term: string) {
    this.service.search(term).subscribe(e => this.wikiItems = e, error => console.log(error));
  }