OrderList / PickList aria-label updates

pull/5507/head
tugcekucukoglu 2024-03-21 16:46:52 +03:00
parent 680e5147f2
commit 88c8b8e5f8
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ export default {
return this.virtualScrollerDisabled ? index : fn && fn(index)['index'];
},
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) {
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;