Fixed #6002 - DataTable: highlightOnSelect single selection defect
parent
0b37123bbb
commit
8d501b9aa8
|
@ -93,9 +93,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { equals, isNotEmpty, resolveFieldData } from '@primeuix/utils/object';
|
||||||
import BaseComponent from '@primevue/core/basecomponent';
|
import BaseComponent from '@primevue/core/basecomponent';
|
||||||
import { getVNodeProp } from '@primevue/core/utils';
|
import { getVNodeProp } from '@primevue/core/utils';
|
||||||
import { resolveFieldData, equals, isNotEmpty } from '@primeuix/utils/object';
|
|
||||||
import ChevronDownIcon from '@primevue/icons/chevrondown';
|
import ChevronDownIcon from '@primevue/icons/chevrondown';
|
||||||
import ChevronRightIcon from '@primevue/icons/chevronright';
|
import ChevronRightIcon from '@primevue/icons/chevronright';
|
||||||
import { mergeProps } from 'vue';
|
import { mergeProps } from 'vue';
|
||||||
|
@ -495,7 +495,7 @@ export default {
|
||||||
for (let col of this.columns) {
|
for (let col of this.columns) {
|
||||||
let _selectionMode = this.columnProp(col, 'selectionMode');
|
let _selectionMode = this.columnProp(col, 'selectionMode');
|
||||||
|
|
||||||
if (isNotEmpty(_selectionMode) && _selectionMode === 'multiple') {
|
if (isNotEmpty(_selectionMode)) {
|
||||||
columnSelectionMode = _selectionMode;
|
columnSelectionMode = _selectionMode;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue