From 9db07a9c8c213430de02a469b6a132e35d2bcc6c Mon Sep 17 00:00:00 2001 From: jiatianqi Date: Mon, 21 Nov 2022 19:15:07 +0800 Subject: [PATCH] =?UTF-8?q?amis-saas-8231=20[Bug]=20list-select=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E9=BB=98=E8=AE=A4=E5=80=BC=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic7295f8e804b328b7668877f2d9adb67d2f0a550 --- packages/amis-editor/src/plugin/Form/ListSelect.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/amis-editor/src/plugin/Form/ListSelect.tsx b/packages/amis-editor/src/plugin/Form/ListSelect.tsx index 761446054..fb40bdd17 100644 --- a/packages/amis-editor/src/plugin/Form/ListSelect.tsx +++ b/packages/amis-editor/src/plugin/Form/ListSelect.tsx @@ -112,6 +112,7 @@ export class ListControlPlugin extends BasePlugin { getSchemaTpl('extractValue'), getSchemaTpl('valueFormula', { rendererSchema: context?.schema, + mode: 'vertical', useSelectMode: true, // 改用 Select 设置模式 visibleOn: 'this.options && this.options.length > 0' })