-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
<textbox constraint="no empty"/>
wanna to cancel 'contstraint:no empty' in ViewModel, How to do it ?
Thanx.
Hi unitcell,
It depends on what you want.
If you need the value without the constraint check you could use :
textbox.getRawValue();
This will give you the value without an error.
If you really want to dismiss the constraint, you could make the zul more dynamic :
<textbox constraint="@load(vm.constraint)"/>
Or get the textbox out of your binder :
textbox.setConstraint(null);
Greetz chill.
Asked: 2014-10-06 11:16:24 +0800
Seen: 30 times
Last updated: Oct 07 '14
unwanted logging of custom WrongValueException
How to Disable Mandatory Constraint for email textbox
Java Script error zk.wpd in Explorer
wrong valueException come in front of modal popup [closed]
textbox constraint="no empty", how to cancel ? [closed]
Zk Textbox constraint fire only once
Validate datebox invalid input with validators
MVVM, How to display @validator error like the constraint attribut error ?
yes, textbox.setConstraint(null); Thank a lot !
unitcell ( 2014-10-06 14:44:13 +0800 )edit