form: proxmox textfield: support binding 'allowBlank'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-11-27 15:22:23 +01:00 committed by Dominik Csapak
parent 0a751aabb5
commit ec0798689f

View File

@ -34,5 +34,9 @@ Ext.define('Proxmox.form.field.Textfield', {
}
return me.getSkipEmptyText() ? null: value;
},
setAllowBlank: function(allowBlank) {
this.allowBlank = allowBlank;
}
});