mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
Fix mistake
This commit is contained in:
parent
1f1db955d3
commit
d1eccc7ec5
@ -119,7 +119,7 @@ public class TypeAssumptionField extends HorizontalLayout implements LocaleChang
|
||||
.bind(o -> variableInputField.getEmptyValue(), null);
|
||||
variableInputField.setReadOnly(false);
|
||||
typeBinder.forField(typeInputField)
|
||||
.withValidator(type -> (hasCorrectVariable(type) || isEmpty()), StringUtils.EMPTY)
|
||||
.withValidator(type -> (hasCorrectType(type) || isEmpty()), StringUtils.EMPTY)
|
||||
.bind(o -> typeInputField.getEmptyValue(), null);
|
||||
typeInputField.setReadOnly(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user