Roo/bootstrap/form/MultiLineTag.js
authorleon <leon@roojs.com>
Wed, 1 Nov 2023 08:48:05 +0000 (16:48 +0800)
committerleon <leon@roojs.com>
Wed, 1 Nov 2023 08:48:05 +0000 (16:48 +0800)
Roo/bootstrap/form/MultiLineTag.js

index ffa1370..d29aee9 100644 (file)
@@ -220,6 +220,10 @@ Roo.extend(Roo.bootstrap.form.MultiLineTag, Roo.bootstrap.form.Input,  {
 
         // add one extra empty tag
         this.addTagRow();
+
+        while(this.tagRows.length < this.minimumRow) {
+            this.addTagRow();
+        }
         
     }
 });