Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vue/src/select/src/pc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
<tiny-grid
v-if="renderType === 'grid'"
auto-resize
:row-id="valueField"
:row-id="gridOp.rowId || valueField"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change allows the <tiny-grid> component to use gridOp.rowId for the :row-id attribute, providing a fallback to valueField if gridOp.rowId is not defined. This ensures that the grid row ID can be set dynamically based on the gridOp configuration.

:select-config="buildSelectConfig()"
:radio-config="buildRadioConfig()"
ref="selectGrid"
Expand Down
Loading