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/29 19:22:47 UTC

[11/23] git commit: [flex-asjs] [refs/heads/develop] - FLEX-35328 - Update MDLExample DropDownList tab with prompt property when nothing is selected

FLEX-35328 - Update MDLExample DropDownList tab with prompt property when nothing is selected


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

Branch: refs/heads/develop
Commit: 09a4afccf8605c9f17fd6f088d65195112ae0a33
Parents: 69139d9
Author: piotrz <pi...@apache.org>
Authored: Sat Jun 24 19:30:37 2017 +0200
Committer: piotrz <pi...@apache.org>
Committed: Sat Jun 24 19:30:37 2017 +0200

----------------------------------------------------------------------
 examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/09a4afcc/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml b/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
index a50413a..e17af31 100644
--- a/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
@@ -31,8 +31,7 @@ limitations under the License.
     <mdl:Grid>
         <mdl:GridCell columnDesktop="12">
           <mdl:DropDownList id="dropDownList" labelField="label" width="150"
-                            selectedIndex="0"
-                            change="onDplChange(event)">
+                            prompt="Text" change="onDplChange(event)">
               <mdl:beads>
                   <js:ConstantBinding
                           sourceID="menuModel"