mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Add error message for non-optional input
This commit is contained in:
@@ -356,7 +356,7 @@ const View = Backbone.View.extend({
|
||||
continue;
|
||||
}
|
||||
if (!input_def.optional && input_value == null && input_def.type != "hidden") {
|
||||
this.form.highlight(input_id);
|
||||
this.form.highlight(input_id, "This input requires a value.");
|
||||
return false;
|
||||
}
|
||||
if (input_field.validate) {
|
||||
|
||||
Reference in New Issue
Block a user