Code Block |
---|
def component = getFieldByName("Component/s"getFieldById(fieldChanged) if((component.getValue() as Collection).size() > 1) { component.setError("Component只能选择一个") } else { component.setValid(true) component.clearError() } |
Page History
Overview
Content Tools