Fixed #6436
parent
5cc85b2b0e
commit
da45ca535a
|
@ -297,6 +297,7 @@ import {
|
||||||
getOuterHeight,
|
getOuterHeight,
|
||||||
getOuterWidth,
|
getOuterWidth,
|
||||||
isClickable,
|
isClickable,
|
||||||
|
isClient,
|
||||||
removeClass,
|
removeClass,
|
||||||
setAttribute
|
setAttribute
|
||||||
} from '@primeuix/utils/dom';
|
} from '@primeuix/utils/dom';
|
||||||
|
@ -442,7 +443,10 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$el.setAttribute(this.attributeSelector, '');
|
if (isClient()) {
|
||||||
|
this.attributeSelector = UniqueComponentId();
|
||||||
|
this.$el.setAttribute(this.attributeSelector, '');
|
||||||
|
}
|
||||||
|
|
||||||
if (this.isStateful()) {
|
if (this.isStateful()) {
|
||||||
this.restoreState();
|
this.restoreState();
|
||||||
|
@ -2031,9 +2035,6 @@ export default {
|
||||||
return isNotEmpty(val) && this.selection && Array.isArray(this.selection) && val.every((v) => this.selection.some((s) => this.equals(s, v)));
|
return isNotEmpty(val) && this.selection && Array.isArray(this.selection) && val.every((v) => this.selection.some((s) => this.equals(s, v)));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
attributeSelector() {
|
|
||||||
return UniqueComponentId();
|
|
||||||
},
|
|
||||||
groupRowSortField() {
|
groupRowSortField() {
|
||||||
return this.sortMode === 'single' ? this.sortField : this.d_groupRowsSortMeta ? this.d_groupRowsSortMeta.field : null;
|
return this.sortMode === 'single' ? this.sortField : this.d_groupRowsSortMeta ? this.d_groupRowsSortMeta.field : null;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue