Skip to content

Commit

Permalink
FIO-7195/FIO-8234: Fixes an issue where Select renders value properti…
Browse files Browse the repository at this point in the history
…es instead of labels in DataTable
  • Loading branch information
alexandraRamanenka committed Sep 30, 2024
1 parent 66d554e commit c6e8cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ export default class SelectComponent extends ListComponent {
asString(value, options = {}) {
value = value ?? this.getValue();

if (options.modalPreview) {
if (options.modalPreview || options.dataTablePreview) {
const template = this.itemTemplate(value, value);
return template;
}
Expand Down

0 comments on commit c6e8cce

Please sign in to comment.