Friday, 11 January 2013

How to set Textbox Maxlength in the view model ?

<textbox maxlength="@bind(vm.maxlength)" />


....
public int getMaxlength() {
return 5;
}
....
 
Reference from zk forum here.

No comments:

Post a Comment