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

Field deletes characters when typing slowly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.5.2
    • Databind, ZK Client Engine
    • None
    • Windows 7, Firefox 36, JBoss 7.1, Java 6

      Here's a part of my zul :

      <auxhead>
          <auxheader align="center">
              <hbox>
                  <image src="/images/16x16/filter.png"
                      width="16px" height="16px">
                  </image>
                  <intbox width="50px"
                      constraint="no negative" maxlength="7"
                      value="@load(vm.filter) @save(vm.filter, before='doFilter')"
                      onChange="@command('doFilter')" instant="true" />
              </hbox>
          </auxheader>
      </auxhead>
      

      I have a table loaded with a list, which is on Java-side, like in http://www.zkoss.org/zkdemo/grid/data_filter. Up there is my filter field.
      When I type some characters slowly enough, the last ones are deleted. It happens also if I delete characters, if I'm too slow, they reappear.

      I believe it is because of a context rollback, because the client request is back from the server, and its context is re-injected into the page.

            Unassigned Unassigned
            Pyeroh Pyeroh
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: