question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error of read-only property on Angular 11

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexMiniAppscommented, Dec 1, 2020

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

1reaction
AlexMiniAppscommented, Nov 30, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot assign to read only property 'closed' of object '[object ...
So I'm getting the following error message: TypeError: Cannot assign to read only property 'closed' of object '[object Object]'.
Read more >
TypeError: "x" is read-only - JavaScript - MDN Web Docs
The JavaScript strict mode-only exception "is read-only" occurs when a global variable or object property that was assigned to is a read-only property....
Read more >
Cannot assign to read only property of Object in JavaScript
The error "Cannot assign to read only property of object" occurs when we try to change a property of an object that has...
Read more >
Cannot assign to read only property 'tView' of object ... - GitHub
I have upgrade from latest v8.2.14 to v9 rc11 and I have this error, it seems that tView property is created as non-writtable....
Read more >
Angular ng-readonly Directive - W3Schools
The ng-readonly directive sets the readonly attribute of a form field (input or textarea). The form field will be readonly if the expression...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found