Skip to content

Commit

Permalink
Update src/main/java/life/qbic/projectwizard/views/MetadataUploadView…
Browse files Browse the repository at this point in the history
….java

Co-authored-by: Tobias Koch <[email protected]>
  • Loading branch information
wow-such-code and KochTobi authored Aug 4, 2023
1 parent ce7e5e7 commit f70309d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1188,8 +1188,8 @@ protected void createConditionWindow(ComboBox selectionBox) {
label.setRequired(true);
label.setStyleName(Styles.fieldTheme);
RegexpValidator factorLabelValidator = new RegexpValidator("[a-z]+[a-z0-9_]*",
"The name must start with a letter and may only contain letters (a-z), "
+ "numbers and underscores ('_').");
"The name may only contain lower-case letters (a-z), "
+ "numbers and underscores ('_'). It must start with a lower-case letter.");
label.addValidator(factorLabelValidator);
label.setValidationVisible(true);
label.setImmediate(true);
Expand Down

0 comments on commit f70309d

Please sign in to comment.