mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4150 - Improve pt syntax for 'class' definitions
This commit is contained in:
parent
cbad15003f
commit
68c5d088eb
2 changed files with 2 additions and 2 deletions
|
@ -437,7 +437,7 @@ export default {
|
|||
const getValue = (...args) => {
|
||||
const value = this._getOptionValue(...args);
|
||||
|
||||
return ObjectUtils.isString(value) ? { class: value } : value;
|
||||
return ObjectUtils.isString(value) || ObjectUtils.isArray(value) ? { class: value } : value;
|
||||
};
|
||||
|
||||
const datasetPrefix = 'data-pc-';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue