Actually, using constraint="no empty,before 20130420", no any space after comma, works too.
francishsiao ( 2013-04-19 09:47:08 +0800 )edit-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I've discovered that the very useful before/after date constraints on datebox fail to disable the calendar days not complying with the specified restriction if some other constraint is specified. Just try the following in the online zk sandbox
<datebox id="db" width="150px" constraint="no empty, before 20130420" />
and compare it with
<datebox id="db" width="150px" constraint="before 20130420" />
With kind regards
César Varona
It has been identified as a ZK bug, and has been posted in the following link
http://tracker.zkoss.org/browse/ZK-1718
Please follow the link to get the latest status.
However, you can put the "before 20130420" at the first place of the constraint like:
<datebox id="db1" width="150px" constraint="before 20130420, no empty" />
the "disable" would works.
Actually, using constraint="no empty,before 20130420", no any space after comma, works too.
francishsiao ( 2013-04-19 09:47:08 +0800 )editAsked: 2013-04-15 17:07:44 +0800
Seen: 43 times
Last updated: Apr 16 '13
AutoComplete Combobox usage and requirements
Source code of page dosen't change when usinge an Include
label in org.zkoss.zul.Messagebox must be middle aligned [closed]
Doublebox with format fails at the client side if typed number < 1.0E-6 [closed]
how to increse the font size of a TAB label
onChanging event not everytime fired in Combobox
Session.invalidate() raises an IllegalStateException under Jetty