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 of read-only property on Angular 11 #20

Closed
ducthang310 opened this issue Nov 26, 2020 · 8 comments
Closed

Error of read-only property on Angular 11 #20

ducthang310 opened this issue Nov 26, 2020 · 8 comments
Labels
await feedback fixed The issue has been fixed

Comments

@ducthang310
Copy link

Hi,
I've got an error with read-only properties on angular 11:
error TS2540: Cannot assign to 'isCodeHidden' because it is a read-only property. <code-input [isCodeHidden]="false"...

Could you pls check this?
Thanks so much!

@AlexMiniApps
Copy link
Owner

@ducthang310 Hello, it will be fixed in the next release.

@AlexMiniApps AlexMiniApps added the enhancement New feature or request label Nov 26, 2020
@AlexMiniApps
Copy link
Owner

@ducthang310 Just created the release -v 1.3.0. The issue should be fixed.

@AlexMiniApps
Copy link
Owner

Resolved

@ducthang310
Copy link
Author

Thanks so much!
But I still got the error with codeLength
when use configuration in template:
<code-input [isCodeHidden]="true" [codeLength]="5" (codeChanged)="onCodeChanged($event)" (codeCompleted)="onCodeCompleted($event)"> </code-input>

Error: Cannot assign to 'codeLength' because it is a read-only property.

@AlexMiniApps
Copy link
Owner

@ducthang310 ok. Will check, thank you for the feedback.

@AlexMiniApps AlexMiniApps reopened this Dec 1, 2020
@AlexMiniApps AlexMiniApps added bug Something isn't working and removed enhancement New feature or request 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

AlexMiniApps commented Dec 1, 2020

@ducthang310 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
@AlexMiniApps
Copy link
Owner

Resolved

@ducthang310
Copy link
Author

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

Thanks so much! It's working well now.

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