Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in console if @Input() code not null #21

Closed
almax1989 opened this issue Nov 30, 2020 · 3 comments
Closed

Error in console if @Input() code not null #21

almax1989 opened this issue Nov 30, 2020 · 3 comments
Labels
await feedback fixed The issue has been fixed

Comments

@almax1989
Copy link

If you pass the default code, for example 1234, there is an error in the console.
Although the input continues to work.

<code-input [codeLength]="4"
[code]="1234"
[isFocusingOnLastByClickIfFilled]="true"
(codeChanged)="onCodeChanged($event)"
(codeCompleted)="onCodeCompleted($event)"

core.js:5973 ERROR Error: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value for 'empty': 'true'. Current value: 'false'.
at throwErrorIfNoChangesMode (core.js:6506)
at bindingUpdated (core.js:12593)
at checkStylingProperty (core.js:16424)
at Module.ɵɵclassProp (core.js:16332)
at CodeInputComponent_span_0_Template (angular-code-input.js:25)
at executeTemplate (core.js:9269)
at refreshView (core.js:9138)
at refreshEmbeddedViews (core.js:10245)
at refreshView (core.js:9162)
at refreshComponent (core.js:10291)

@AlexMiniApps
Copy link
Owner

@almax1989 Hello, I will research, thank you.

@AlexMiniApps AlexMiniApps added investigating bug Something isn't working and removed investigating labels Dec 1, 2020
AlexMiniApps added a commit that referenced this issue Dec 1, 2020
- Fixing #21 #20
- Adjusted tslint issues
@AlexMiniApps
Copy link
Owner

@almax1989 Fixed. Please check the latest version - v 1.3.1

@AlexMiniApps AlexMiniApps added await feedback fixed The issue has been fixed and removed bug Something isn't working labels Dec 1, 2020
@almax1989
Copy link
Author

@almax1989 Fixed. Please check the latest version - v 1.3.1

Super! Working! Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
await feedback fixed The issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants