Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Abandoned
-
5.0.15
-
None
-
None
-
None
Description
I have a validator called 'method' that takes an optional string constraint which defaults to a reasonable value based on the field name. As of 5.0.5 you could do:
<t:textfield t:id="name" validate="method" />
you have to do:
<t:textfield t:id="name" validate="method=" />
to make the parameter an empty string. otherwise you get an exception that you didn't specify the constraint. I need a way of specifying that this constraint can be optional so you can use it with the first method. Also, I'm not sure if being able to do the second method should be considered a bug since the constraint is required but the value is empty.