Merge branch 'primefaces:master' into master

This commit is contained in:
Harun Demir 2023-12-07 20:54:11 +03:00 committed by GitHub
commit 0a10427acc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
180 changed files with 3592 additions and 1117 deletions

View file

@ -125,7 +125,7 @@
:data-p-highlight="isSelected(option)"
:data-p-focused="focusedOptionIndex === getOptionIndex(i, getItemOptions)"
:data-p-disabled="isOptionDisabled(option)"
v-bind="getPTOptions(option, getItemOptions, i, 'item')"
v-bind="getPTItemOptions(option, getItemOptions, i, 'item')"
>
<slot name="option" :option="option" :index="getOptionIndex(i, getItemOptions)">{{ getOptionLabel(option) }}</slot>
</li>
@ -253,7 +253,7 @@ export default {
getOptionRenderKey(option, index) {
return (this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option)) + '_' + index;
},
getPTOptions(option, itemOptions, index, key) {
getPTItemOptions(option, itemOptions, index, key) {
return this.ptm(key, {
context: {
selected: this.isSelected(option),