From a86a191923696f66a30482009b15ac5bd0337889 Mon Sep 17 00:00:00 2001 From: 2betop <2698393+2betop@users.noreply.github.com> Date: Thu, 20 Jun 2024 11:04:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20picker=20=E4=B8=8D=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=20pickerSchema=20=E6=97=B6=20labelField=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=97=A0=E6=95=88=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis/src/renderers/Form/Picker.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/amis/src/renderers/Form/Picker.tsx b/packages/amis/src/renderers/Form/Picker.tsx index 76db72d595c..620848bb192 100644 --- a/packages/amis/src/renderers/Form/Picker.tsx +++ b/packages/amis/src/renderers/Form/Picker.tsx @@ -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: {