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

Textbox multi-line start with new-line failed in onCreate event

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.10
    • 5.0.9
    • Components
    • Security Level: Jimmy

      textbox1 do not have new-line.
      textbox2 have new-line with onClick event.

      <zk>
      <window title="new page title" border="normal">
      	textbox1: <textbox id="test" rows="4" onCreate='self.setValue("\ntest");'/>
      	textbox2: <textbox id="test2" rows="4"/>
      	<button label="setValue" onClick='test2.value="\ntest";'/>
      </window>
      </zk>
      

            benbai benbai
            vincentjian vincentjian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: