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

SimpleConstraint created by (int flag) constructor doesn't follow the position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.3
    • 8.0.3
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S5

      intbox 1,2,3 : error message appear on after_start position (below)
      intbox 4 : message appear on default position (on the right)

      Reproduced with:

      <zk>
          <intbox id="test1" constraint="no empty,after_start" />
          <intbox id="test2" />
          <intbox id="test3" />
          <intbox id="test4" />
      	<zscript><![CDATA[
      				test2.setConstraint("after_start,no empty");
                      test3.setConstraint(new SimpleConstraint("after_start,no empty"));
                      test4.setConstraint(new SimpleConstraint(SimpleConstraint.AFTER_START | SimpleConstraint.NO_EMPTY));
        	]]></zscript>
      </zk>
      
      

            wenninghsu wenninghsu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 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