alibaba / alibaba/lowcode-engine

如何实现禁止编辑的功能

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

Description

## **Describe the bug (required)** / **详细描述 bug(必填)**

A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述

业务需要在某个状态下禁止编辑,请问如何实现禁止编辑的功能
---

## **Expected behavior (required)** / **预期行为(必填,非常重要)**
A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为

有个onchange事件,然后return false,阻止schema更新
---

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the onchange handler and the schema update path in the editor, then determine how the requested status is represented. Done means that, in the specified status, returning false from onchange prevents the schema from being updated.

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.