Unexpected longbox constraint behaviour in zk 5.07

asked 2011-05-16 08:36:28 +0800

cvarona gravatar image cvarona
554 1 6

Hi there,

I'm not sure whether I'm missing something, but it looks that suddenly the only constraint violation detected on the fly is 'no empty'. Just try

<hbox><longbox id="_timeSlice" constraint="no zero,no negative,no empty"/><button label="Klikk!" onClick='alert( "" + _timeSlice.getValue() );' /></hbox>
in the online zk sandbox. If I write a negative number and press tab in order to reach the button no warning is issued. It's only when the button is pressed that I get the warning popup. However, if after having written say -67 I return to the input field and delete its content I will promptly receive the 'no empty allowed' warning, no need to press the button whatsoever.

Any idea as to what might be happening?

With kind regards

C├ęsar Varona

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2011-05-16 08:36:28 +0800

Seen: 219 times

Last updated: May 16 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More