From c07a4619381860e303a40f4f18c16cf80428870e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 2 Jun 2021 14:53:43 +0800 Subject: [PATCH] examples/bootstrap/dashboard1.bjs examples/bootstrap/dashboard1.js --- examples/bootstrap/dashboard1.bjs | 14 +++++++------- examples/bootstrap/dashboard1.js | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/bootstrap/dashboard1.bjs b/examples/bootstrap/dashboard1.bjs index c41cbea651..ce254025ea 100644 --- a/examples/bootstrap/dashboard1.bjs +++ b/examples/bootstrap/dashboard1.bjs @@ -76,8 +76,8 @@ "items" : [ { "String cls" : "header", - "xtype" : "Container", "tag" : "header", + "xtype" : "Container", "* xinclude" : "Dashboard.Header1", "$ xns" : "Roo.bootstrap" }, @@ -174,7 +174,7 @@ "String vtype" : "email" }, { - "xtype" : "Input", + "xtype" : "ButtonUpload", "string placeholder" : "Enter email", "String inputType" : "file", "String fieldLabel" : "File Input", @@ -366,8 +366,8 @@ }, { "xtype" : "Header", - "$ xns" : "Roo.bootstrap", "Number level" : 4, + "$ xns" : "Roo.bootstrap", "String html" : "With Icons" }, { @@ -394,8 +394,8 @@ }, { "xtype" : "Header", - "Number level" : 4, "$ xns" : "Roo.bootstrap", + "Number level" : 4, "String html" : "With checkbox and radio" }, { @@ -421,8 +421,8 @@ }, { "xtype" : "Header", - "$ xns" : "Roo.bootstrap", "Number level" : 4, + "$ xns" : "Roo.bootstrap", "String html" : "With buttons" }, { @@ -541,8 +541,8 @@ }, { "xtype" : "TextArea", - "$ xns" : "Roo.bootstrap", - "String fieldLabel" : "Textarea" + "String fieldLabel" : "Textarea", + "$ xns" : "Roo.bootstrap" }, { "xtype" : "TextArea", diff --git a/examples/bootstrap/dashboard1.js b/examples/bootstrap/dashboard1.js index 92815f36a4..0cc4e85ffe 100644 --- a/examples/bootstrap/dashboard1.js +++ b/examples/bootstrap/dashboard1.js @@ -199,7 +199,7 @@ dashboard1 = new Roo.XComponent({ '|xns' : 'Roo.bootstrap' }, { - xtype : 'Input', + xtype : 'ButtonUpload', fieldLabel : _this._strings['bc6d090c772eedbd8e59e273620830c6'] /* File Input */, inputType : 'file', placeholder : _this._strings['c3d8baf1b9da3d6922aea0057717a0b7'] /* Enter email */, -- 2.39.2