checkUrl and codemirror-mode do not mix

XMLWordPrintable

    • 2.369

      If you put <f:textarea codemirror-mode="clike"/> in a Jelly page, and there is a doCheckWhatever method for the field in the corresponding Descriptor, the validation will not workβ€”it will only validate the contents of the text area when the page was loaded, regardless of subsequent edits.

      The cause seems to be that e.value (used from controlValue ← toValue ← qs ← targetUrl ← registerValidator ← TEXTAREA.validated) does not update dynamically when CodeMirror is used, unless and until e.codemirrorObject.save() is called.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: