coryrylan / ngx-lite

:package: A collection of lightweight Angular libraries in a single mono repo
https://ngxlite.com
MIT License
138 stars 21 forks source link

Update not working properly in the input-tag component #41

Open Wolfteam opened 4 years ago

Wolfteam commented 4 years ago

Describe the bug I'm using the ngx-input-tag and it works the first time the form is initialized, but once i try to patch the corresponding value, the input does not reflect the changes, instead, if i click outside the component, then the changes are reflected

To Reproduce Steps to reproduce the behavior:

  1. Working Link reproducible demo
  2. Delete one of the initial tags
  3. Click the submit button, you will see that nothing changes, but if you click outside the input then it gets updated

Expected behavior If i change the tags value in the form, it should be automatically reflected and it should not require an extra click.

Versions (please complete the following information):