Optional options in UI property control become dropdown
This commit is contained in:
parent
89c5ea6886
commit
ae81520494
4 changed files with 37 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
:data-schema="propertyDescription"
|
||||
:label="label"
|
||||
:animate="animate"
|
||||
:options="options"
|
||||
@request-update="readProperty"
|
||||
@send-value="writeProperty"
|
||||
@animation-shown="resetAnimate"
|
||||
|
|
@ -44,6 +45,11 @@ export default {
|
|||
default: 1000,
|
||||
required: false,
|
||||
},
|
||||
options: {
|
||||
type: Array,
|
||||
default: () => [],
|
||||
required: false,
|
||||
},
|
||||
},
|
||||
|
||||
data() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue