Skip to content
Snippets Groups Projects
Commit 09ca986a authored by Matthai Kurian's avatar Matthai Kurian
Browse files

OO-318: corrected for case of non mandatory field with regexp

parent 5efaa5e9
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,11 @@ public class Generic127CharTextPropertyHandler extends AbstractUserPropertyHandl
if (textElemItem.isEmpty("new.form.mandatory")) {
return false;
}
}
} else {
if (textElemItem.getValue().equals("")) {
return true;
}
}
if (regExp != null) {
return regExp.matcher(textElemItem.getValue()).matches();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment