Created
June 30, 2012 08:08
-
-
Save 40/3022894 to your computer and use it in GitHub Desktop.
Canadian Provinces(States) DropDown Component - BB10 Cascades
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DropDown { | |
| title: "Choose a province" | |
| enabled: true | |
| onSelectedIndexChanged: { | |
| console.log ("SelectedIndex was changed to " + selectedIndex); | |
| } | |
| Option { | |
| text: "British Columbia" | |
| value: "BC" | |
| } | |
| Option { | |
| text: "Ontario" | |
| value: "ON" | |
| } | |
| Option { | |
| text: "Newfoundland and Labrador" | |
| value: "NL" | |
| } | |
| Option { | |
| text: "Nova Scotia" | |
| value: "NS" | |
| } | |
| Option { | |
| text: "Prince Edward Island" | |
| value: "PE" | |
| } | |
| Option { | |
| text: "New Brunswick" | |
| value: "NB" | |
| } | |
| Option { | |
| text: "Quebec" | |
| value: "QC" | |
| } | |
| Option { | |
| text: "Manitoba" | |
| value: "MB" | |
| } | |
| Option { | |
| text: "Saskatchewan" | |
| value: "SK" | |
| } | |
| Option { | |
| text: "Alberta" | |
| value: "AB" | |
| } | |
| Option { | |
| text: "Northwest Territories" | |
| value: "NT" | |
| } | |
| Option { | |
| text: "Nunavut" | |
| value: "NU" | |
| } | |
| Option { | |
| text: "Yukon Territory" | |
| value: "YT" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment