various bugfixes

This commit is contained in:
Stephan Richter
2020-11-06 09:50:16 +01:00
parent 06a80a2a8d
commit ad8375e7f4
4 changed files with 60 additions and 52 deletions

View File

@@ -33,7 +33,7 @@ public class TrainLength extends Condition {
@Override
public Tag propForm(HashMap<String, String> params) {
return new Input(MAX_LENGTH, maxLength).addTo(new Label(t("Maximum train length:")+NBSP)).addTo(super.propForm(params));
return new Input(MAX_LENGTH, maxLength).numeric().addTo(new Label(t("Maximum train length:")+NBSP)).addTo(super.propForm(params));
}
@Override