]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
textfield: validate after allowBlank
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 Jun 2019 12:20:51 +0000 (14:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 Jun 2019 12:21:17 +0000 (14:21 +0200)
form/TextField.js

index f1146f17d4472db1b383a1ecb584bf175b1ba668..0865fbccafcd965a25e835bf777b2cfb1840e45a 100644 (file)
@@ -38,5 +38,6 @@ Ext.define('Proxmox.form.field.Textfield', {
 
     setAllowBlank: function(allowBlank) {
        this.allowBlank = allowBlank;
+       this.validate();
     }
 });