OrderList / PickList aria-label updates
parent
680e5147f2
commit
88c8b8e5f8
|
@ -169,7 +169,7 @@ export default {
|
||||||
return this.virtualScrollerDisabled ? index : fn && fn(index)['index'];
|
return this.virtualScrollerDisabled ? index : fn && fn(index)['index'];
|
||||||
},
|
},
|
||||||
getOptionLabel(option) {
|
getOptionLabel(option) {
|
||||||
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : typeof option === 'string' ? option : null;
|
||||||
},
|
},
|
||||||
getOptionValue(option) {
|
getOptionValue(option) {
|
||||||
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
||||||
|
|
Loading…
Reference in New Issue