From 88c8b8e5f8c8d19c78a5ab3d1e41207716e3807c Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 21 Mar 2024 16:46:52 +0300 Subject: [PATCH] OrderList / PickList aria-label updates --- components/lib/listbox/Listbox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/listbox/Listbox.vue b/components/lib/listbox/Listbox.vue index 1c11a688b..8e4097919 100755 --- a/components/lib/listbox/Listbox.vue +++ b/components/lib/listbox/Listbox.vue @@ -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;