This commit is contained in:
nathan 2024-11-04 14:28:23 -07:00
parent b29aafcaf3
commit 3fabd1f2cb

View File

@ -184,11 +184,11 @@ export class et2_file extends et2_inputWidget
.attr("image", "attach")
.attr("noSubmit", true)
.appendTo(this.node);
if(this.option.label)
if(this.options.label)
{
this.span.attr('label', this.options.label || '')
}
let span = this.span;
this.input = jQuery(document.createElement("input"))
.attr("type", "file").attr("placeholder", this.options.blur)