You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2017/06/25 12:18:12 UTC

git commit: [flex-asjs] [refs/heads/feature/FLEX-35328_simplify_mdl_drop_down_list] - FLEX-35328 - Add to DropDownList ability to dynamic creation and fix problem with upgrading

Repository: flex-asjs
Updated Branches:
  refs/heads/feature/FLEX-35328_simplify_mdl_drop_down_list f3e5cf85f -> e86286f5a


FLEX-35328 - Add to DropDownList ability to dynamic creation and fix problem with upgrading


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e86286f5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e86286f5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e86286f5

Branch: refs/heads/feature/FLEX-35328_simplify_mdl_drop_down_list
Commit: e86286f5a81856b49790f19d5da8389f9ec7329e
Parents: f3e5cf8
Author: piotrz <pi...@apache.org>
Authored: Sun Jun 25 14:18:09 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Sun Jun 25 14:18:09 2017 +0200

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/mdl/DropDownList.as           | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e86286f5/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as
index fbb720a..dd4f35b 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/DropDownList.as
@@ -24,6 +24,7 @@ package org.apache.flex.mdl
     import org.apache.flex.events.ItemAddedEvent;
     import org.apache.flex.html.DataContainer;
     import org.apache.flex.html.Select;
+    import org.apache.flex.mdl.beads.UpgradeElement;
 
     COMPILE::JS
     {
@@ -60,6 +61,10 @@ package org.apache.flex.mdl
         public function DropDownList()
         {
             super();
+
+            className = "";
+
+            addBead(new UpgradeElement());
         }
 
         private var _prompt:String = "";