From 08ca0b8ddfca5e9db6638769b58c1a6fcc42f91f Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 7 Jun 2023 12:28:26 +0800 Subject: [PATCH] white space --- Roo/form/ComboBox.js | 2 +- Roo/form/ComboBoxArray.js | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Roo/form/ComboBox.js b/Roo/form/ComboBox.js index 80e956ee3a..19c5ff9dd0 100644 --- a/Roo/form/ComboBox.js +++ b/Roo/form/ComboBox.js @@ -308,7 +308,7 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, { { Roo.form.ComboBox.superclass.onRender.call(this, ct, position); - if(this.hiddenName){ + if(this.hiddenName){ this.hiddenField = this.el.insertSibling({tag:'input', type:'hidden', name: this.hiddenName, id: (this.hiddenId||this.hiddenName)}, 'before', true); this.hiddenField.value = diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index 08f4bc0132..38cd986449 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -99,7 +99,8 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, */ seperator : ',', - // private the array of items that are displayed.. + + // private the array of items that are displayed.. items : false, // private - the hidden field el. hiddenEl : false, @@ -193,8 +194,10 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, // add to list }, this); - - + + + + }, @@ -428,7 +431,7 @@ Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, { cb: false, displayField : false, tipField : false, - + defaultAutoCreate : { tag: 'div', -- 2.39.2