hideIf function doesn't work with editor field in form

hideIf function doesn't work with editor field in form

by Serge Gauthier -
Number of replies: 1

Does anyone knows if the  hideIf function works with an editor field?

I try to use it in a form but it doesn't seem to work. The field is disabled but not hidden.

Thanks



Average of ratings: -
In reply to Serge Gauthier

Re: hideIf function doesn't work with editor field in form

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

No it doesn't work - https://tracker.moodle.org/browse/MDL-53848?focusedCommentId=474264&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-474264

Feel free to see if you can figure out a way to adjust the core code to make it work, then submit a patch (I couldn't figure out a sensible way to do it as part of the original implementation of hideif) ...