NComboBox not default options
This commit is contained in:
parent
3e46eed9a1
commit
8cc3c47f09
2 changed files with 10 additions and 7 deletions
|
|
@ -133,10 +133,12 @@ NLoader {
|
|||
font.weight: Style.fontWeightBold
|
||||
}
|
||||
|
||||
NComboBox {// label: "Label"
|
||||
// description: "Description"
|
||||
NComboBox {
|
||||
optionsKeys: ["cat", "dog", "bird", "monkey", "fish", "turtle", "elephant", "tiger"]
|
||||
optionsLabels: ["Cat", "Dog", "Bird", "Monkey", "Fish", "Turtle", "Elephant", "Tiger"]
|
||||
currentKey: "cat"
|
||||
onSelected: function (value) {
|
||||
console.log("NComboBox: " + value)
|
||||
console.log("NComboBox: selected " + value)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue