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

Readonly attribute of p-editor component does not reflect changes #3536

Closed
QuentinLeGoff opened this issue Jul 31, 2017 · 1 comment
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@QuentinLeGoff
Copy link

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)
http://plnkr.co/edit/0DzGbzNPYLOTkInP7i2i?p=preview

Current behavior
The change of readonly attribute doesn't work.

Expected behavior
Change the readonly attribute dynamiccaly should work and freeze or not the p-editor component

Minimal reproduction of the problem with instructions
Readonly attribute is set to true so the editor cannot be change.

  1. Set readonly attribute to false with checkbox component

Please tell us about your environment:

  • Angular version: 4.3.1

  • PrimeNG version: 4.1.2

  • Browser: [all]

  • Language: [TypeScript 2.3 | ES6/7 | ES5]

@ankurmay1988
Copy link

Do we have any workarounds for this in Angular 4.3 ?

@cagataycivici cagataycivici self-assigned this Oct 2, 2017
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Oct 2, 2017
@cagataycivici cagataycivici added this to the 4.2.2 milestone Oct 2, 2017
@cagataycivici cagataycivici changed the title Readonly attribute of p-editor component Readonly attribute of p-editor component does not reflect changes Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants