You've already forked snikket-web-portal
Report validity issues of avatar input right away
This helps discovering the actual error message. Thanks @zash.
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
var warning_header = this.dataset.warningHeader;
|
||||
var warning_text = this.dataset.maxsizeWarning;
|
||||
this.setCustomValidity(warning_text);
|
||||
this.reportValidity();
|
||||
this.value = null;
|
||||
} else {
|
||||
this.setCustomValidity("");
|
||||
|
||||
Reference in New Issue
Block a user