Skip to content

Commit

Permalink
fix: picker 不自定义 pickerSchema 时 labelField 配置无效问题修复
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Jun 20, 2024
1 parent 4941ca0 commit a86a191
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/amis/src/renderers/Form/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,7 @@ export default class PickerControl extends React.PureComponent<
labelField: 'label',
valueField: 'value',
pickerSchema: {
mode: 'list',
listItem: {
title: '${label|raw}'
}
mode: 'list'
},
embed: false,
overflowConfig: {
Expand Down

0 comments on commit a86a191

Please sign in to comment.