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_header = this.dataset.warningHeader;
|
||||||
var warning_text = this.dataset.maxsizeWarning;
|
var warning_text = this.dataset.maxsizeWarning;
|
||||||
this.setCustomValidity(warning_text);
|
this.setCustomValidity(warning_text);
|
||||||
|
this.reportValidity();
|
||||||
this.value = null;
|
this.value = null;
|
||||||
} else {
|
} else {
|
||||||
this.setCustomValidity("");
|
this.setCustomValidity("");
|
||||||
|
|||||||
Reference in New Issue
Block a user