forked from 0x2620/oxjs
add 'unformat' option to editables
This commit is contained in:
parent
ad4e7dfa9a
commit
e43881c594
3 changed files with 8 additions and 3 deletions
|
|
@ -41,6 +41,7 @@ Ox.ArrayEditable = function(options, self) {
|
|||
submitOnBlur: true,
|
||||
tooltipText: '',
|
||||
type: 'input',
|
||||
unformat: null,
|
||||
width: 256
|
||||
})
|
||||
.options(options || {})
|
||||
|
|
@ -185,6 +186,7 @@ Ox.ArrayEditable = function(options, self) {
|
|||
: ''
|
||||
),
|
||||
type: self.options.type,
|
||||
unformat: self.options.unformat,
|
||||
value: item.value,
|
||||
width: self.options.type == 'input' ? 0 : self.options.width - 9
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue