[pve-devel] [PATCH widget-toolkit] form: proxmox textfield: support binding 'allowBlank'
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Nov 27 15:22:23 CET 2018
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
form/TextField.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/form/TextField.js b/form/TextField.js
index feab4bc..f1146f1 100644
--- a/form/TextField.js
+++ b/form/TextField.js
@@ -34,5 +34,9 @@ Ext.define('Proxmox.form.field.Textfield', {
}
return me.getSkipEmptyText() ? null: value;
+ },
+
+ setAllowBlank: function(allowBlank) {
+ this.allowBlank = allowBlank;
}
});
--
2.19.2
More information about the pve-devel
mailing list