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/tlf Commit: e86286f5a81856b49790f19d5da8389f9ec7329e Parents: f3e5cf8 Author: piotrz <pio...@apache.org> Authored: Sun Jun 25 14:18:09 2017 +0200 Committer: piotrz <pio...@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 = "";