You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Once you declare the input attribute [(device)] (or [device]) you will get this warning. It is even present in your own demo page: https://zxing-js.github.io/ngx-scanner
To Reproduce
Steps to reproduce the behavior:
Declare component with [(device)] and create a <select> to select the device
Check console
Expected behavior
No warning message to tell me, that angular change detection triggered or a way to prevent it.
Currently using 17.0.4, but also many other versions are affected.
I get that the other warnings mentioned in #204 make sense, but this seems to always be happen if angular change detection triggers once.
I think Angular can handle the change detection well so I would just remove the log message,
but if there is any way to keep the warning while preventing this message from happening, it would be awesome as well.
Describe the bug
Once you declare the input attribute
[(device)]
(or[device]
) you will get this warning. It is even present in your own demo page: https://zxing-js.github.io/ngx-scannerTo Reproduce
Steps to reproduce the behavior:
[(device)]
and create a<select>
to select the deviceExpected behavior
No warning message to tell me, that angular change detection triggered or a way to prevent it.
Currently using 17.0.4, but also many other versions are affected.
I get that the other warnings mentioned in #204 make sense, but this seems to always be happen if angular change detection triggers once.
I think Angular can handle the change detection well so I would just remove the log message,
but if there is any way to keep the warning while preventing this message from happening, it would be awesome as well.
ngx-scanner/projects/zxing-scanner/src/lib/zxing-scanner.component.ts
Line 215 in 87942e5
The text was updated successfully, but these errors were encountered: