alibaba / alibaba/lowcode-engine

demo-general的选择器配置表达式后无法自定义key

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

Description

## **Describe the bug (required)** / **详细描述 bug(必填)**
demo-general的选择器配置表达式后无法自定义key, 只能填官方默认的lable和value, 比如后端返回的是code和name这种就不能直接配置, 仍需要在代码里转一下,如过表达式支持自定义lable和value会方便很多

image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the selector configuration expression problem in demo-general with backend fields named code and name instead of the default label and value. Trace how the expression maps selector options, then verify that custom keys can be configured without converting the response in application code. Confirm the behavior with a focused regression test if the existing test setup covers this configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.