Hello, please consider this code:
if i call the ReadOnlyWhen, i get the following in the logs:
I am not sure what this means, am i doing something wrong? If it's not obvious from the code, my goal is for the FormItem to be readonly if its value is 0.
Code:
FormItem iType = FormUtils.createFormItem(fields, ds, CSConstants.FIELD_IMAGESERVICETYPE); AdvancedCriteria crit = new AdvancedCriteria(CSConstants.FIELD_IMAGESERVICETYPE, OperatorId.EQUALS, 0); iType.setReadOnlyWhen(crit);
WARN:validation:isOneOf validator specified with no specified list of options or valueMap - validator will always fail. Field definition:null
Comment