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

constraint messag not showup after lost focus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.10
    • 6.0.0
    • Components
    • None

      try following case,
      click into intbox and tap out, it shows wrong value message, but not in longbox, decimalbox and timebox. (textbox,banbox,combobox,datebox,doublebox,doublespinner,spinner no such issue)

      <zk>
      	<window>
      		<zscript>
      			Integer intValue = -1;
      			Long longValue = -1L;
      			java.math.BigDecimal decimalValue = new java.math.BigDecimal(-1D);
      			java.util.Date dateValue = null;
      		</zscript>
      		<vbox>
      		<intbox width="100px" constraint="no negative" rawValue="${intValue}"/>
      		<longbox width="100px" constraint="no negative" rawValue="${longValue}"/>
      		<decimalbox width="100px" constraint="no negative" rawValue="${decimalValue}"/>
      		<timebox width="100px" constraint="no empty" rawValue="${dateValue}"/>
      		</vbox>
      	</window>
      </zk>
      

            Unassigned Unassigned
            dennis dennis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h