mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
OrderList / PickList aria-label updates
This commit is contained in:
parent
680e5147f2
commit
88c8b8e5f8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue