Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2619

Errorbox not shown when WrongValueException is thrown on a multiline textbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.4
    • Fix Version/s: 7.0.5
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Reproducible steps:

      1. Load the zul page below
      2. Click on "Wrong value" button to throw WrongValueException on the multiline textbox

      test.zul
      <zk>
          <button label="Wrong value" onClick='throw new WrongValueException(textbox, "error message");'/>
          <textbox id="textbox" multiline="true"/>
      </zk>
      

      Expected result:

      The textbox should have red border, and an errorbox appears with the "error message" message.

      Actual result:

      The textbox has red border, but an errorbox does not appear.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              DevChu DevChu
              Reporter:
              neillee neillee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: