forked from 0x2620/oxjs
add SelectInput
This commit is contained in:
parent
da0742e542
commit
3d3be10e2c
5 changed files with 118 additions and 13 deletions
|
|
@ -206,7 +206,9 @@ Ox.Select = function(options, self) {
|
|||
} else if (key == 'title') {
|
||||
self.$title.html(value);
|
||||
} else if (key == 'width') {
|
||||
Ox.Log('Form', 'SETTING WIDTH OPTION', value)
|
||||
self.$title.css({width: getTitleWidth() + 'px'});
|
||||
that.css({width: value - 2 + 'px'});
|
||||
} else if (key == 'value') {
|
||||
Ox.Log('Form', 'SETTING VALUE OPTION', value)
|
||||
that.selectItem(value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue