FLEX-35328 - Initialize prompt with empty string to avoid displaying "undefined"
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/12ce0655 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/12ce0655 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/12ce0655 Branch: refs/heads/tlf Commit: 12ce0655ae7fdb8e602261ea9a1a054137a028f4 Parents: f3ea275 Author: piotrz <pio...@apache.org> Authored: Sun Jun 25 13:26:41 2017 +0200 Committer: piotrz <pio...@apache.org> Committed: Sun Jun 25 13:26:41 2017 +0200 ---------------------------------------------------------------------- .../src/main/flex/org/apache/flex/mdl/DropDownList.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/12ce0655/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 708b8ba..fbb720a 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 @@ -62,7 +62,7 @@ package org.apache.flex.mdl super(); } - private var _prompt:String; + private var _prompt:String = ""; /** * The prompt for the DropDownList control.