fix a bug that would keep disabled items in a select enabled, and in consequence allow for removal of title and director columns in 0xDB list view
This commit is contained in:
parent
3be78a965a
commit
1d86f10e79
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ Ox.Select = function(options, self) {
|
|||
title: isObject ? item.title : item,
|
||||
checked: Ox.toArray(self.options.value).indexOf(
|
||||
isObject ? item.id : item
|
||||
) > -1
|
||||
) > -1,
|
||||
disabled: isObject ? item.disabled : false
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue