Approved
Last Updated: 09 Apr 2019 12:32 by ADMIN
Antonios
Created on: 08 Apr 2019 20:50
Type: Feature Request
1
Add Readonly to Editor
I would find a Readonly bool prop for the Editor, really useful in certain scenarios
1 comment
ADMIN
Stefan
Posted on: 09 Apr 2019 08:55
Hello, Antonios,

Thank you for the suggestion.

Until this property is available, I can suggest pragmatically making the Editor non-editable on the ComponentDidMount event. I made an example demonstrating this:

https://stackblitz.com/edit/react-wfgk3e?file=app/main.jsx

Another approach is to prevent the changed on the onExecute event and on the onMount event:

https://stackblitz.com/edit/react-kg39oa-duhr8y?file=app/main.jsx

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items