forked from 0x2620/oxjs
some listmap fixes
This commit is contained in:
parent
60662a437a
commit
5e54f5394d
3 changed files with 16 additions and 8 deletions
|
|
@ -38,7 +38,8 @@ Ox.Select = function(options, self) {
|
|||
size: 'medium',
|
||||
title: '',
|
||||
type: 'text', // can be 'text' or 'image'
|
||||
width: 'auto'
|
||||
width: 'auto',
|
||||
value: [],
|
||||
})
|
||||
// fixme: make default selection restorable
|
||||
// or allow for extra action items below options
|
||||
|
|
@ -168,7 +169,9 @@ Ox.Select = function(options, self) {
|
|||
}
|
||||
|
||||
self.setOption = function(key, value) {
|
||||
|
||||
if (key == 'value') {
|
||||
that.selectItem(value);
|
||||
}
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue