alibaba / alibaba/lowcode-engine

form表单无法获取到值

Open
#3,138 1 comment 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

理论上,目前引擎定义的获取指定组件的 API,只有 this.$(refId) 来获取组件的 ref,然后就是调用 ref 对应的方法了~

此例中,获取 ref 可以得到如下对象

![Image](https://github.com/user-attachments/assets/4ed79c01-9556-475b-9951-be658f47733e)

BUT
getValue / getValues 确实得不到值,应该是组件实现有点问题,ProForm 没开源

这个什么时候能修复呢

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the form case through this.$(refId), then inspect the returned ref and the behavior of getValue and getValues. The issue identifies ProForm as the affected component but provides no source file or test; done means the relevant form value APIs return the expected values.

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.