alibaba / alibaba/lowcode-engine

如何全局和局部隐藏设置器右侧的绑定变量按钮

Open
#2,194 3 comments 0 reactions 0 assignees View on GitHub
insufficient information
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

开发的自定义组件,在属性设置器每项右侧都有绑定变量按钮,请问如何能够分别全局和局部禁用。
通过查看引擎源码和在群里请教,了解与supportVariable || supportVariableGlobally这两个属性有关,但偿试没有效果,调试引擎界面卡死,我会再提一个issue。
以下是自定义物料中的配置:
`{
title: {
label: {
type: 'i18n',
'en-US': 'indicator',
'zh-CN': '指标',
},
},
name: 'indicator',
supportVariable: false,
setter: {
componentName: 'IndicatorSetter',
props: {},
isRequired: false,
initialValue: [],
},
},`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the engine source references to supportVariable and supportVariableGlobally, then inspect the custom material configuration for IndicatorSetter shown in the issue. Reproduce the global and local disabling attempts and the reported interface freeze. Done means determining the correct behavior or confirming a reproducible engine defect.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.