mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
Merge "fix: amis-saas-7233 测试:【组件】添加树下拉框,设计态下未开启可清除选项的配置,预览态选取选项后返回编辑态,可清除选项配置开启;(不符合预期)" into pre-release
This commit is contained in:
commit
9497df94d4
@ -23,6 +23,7 @@ export class TreeSelectControlPlugin extends BasePlugin {
|
||||
type: 'tree-select',
|
||||
label: '树下拉框',
|
||||
name: 'tree-select',
|
||||
clearable: false,
|
||||
options: [
|
||||
{
|
||||
label: '选项A',
|
||||
@ -252,6 +253,7 @@ export class TreeSelectControlPlugin extends BasePlugin {
|
||||
|
||||
panelBodyCreator = (context: BaseEventContext) => {
|
||||
const renderer: any = context.info.renderer;
|
||||
|
||||
return getSchemaTpl('tabs', [
|
||||
{
|
||||
title: '属性',
|
||||
@ -270,8 +272,7 @@ export class TreeSelectControlPlugin extends BasePlugin {
|
||||
justify: true,
|
||||
left: 8
|
||||
},
|
||||
inputClassName: 'is-inline ',
|
||||
value: true
|
||||
inputClassName: 'is-inline '
|
||||
}),
|
||||
getSchemaTpl('searchable'),
|
||||
getSchemaTpl('multiple', {
|
||||
|
Loading…
Reference in New Issue
Block a user