make RTE read only.

Avatar

Avatar

pradeepb6049780

Avatar

pradeepb6049780

pradeepb6049780

17-04-2018

Hi All,

     We have a requirement where we need to make rte field as read only and there will be a checkbox provided if they check that box, then it allows to edit rte .
Is there a way to make RTE field as read only.

Thanks In Advance.

Replies

Avatar

Avatar

edubey

Avatar

edubey

edubey

17-04-2018

1. Try to set it disabled using property for RTE

2. Add a listener on checkbox which will remove/add that value based on dialog value

Thanks

Avatar

Avatar

pradeepb6049780

Avatar

pradeepb6049780

pradeepb6049780

17-04-2018

Thanks edubey for replying,

I have already tried by adding disabled property but no luck.