alibaba / alibaba/lowcode-engine

自定义setter时,使用函数式组件声明时找不到onChange事件

Open
#3,065 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

自定义setter时,声明setter如果使用函数式组件,调用onChange事件时会报错找不到该方法,请问是什么原因?
截屏2024-07-10 15 39 42

![截屏2024-07-10 15 40 00](https://github.com/alibaba/lowcode-engine/assets/32082858/c7ecefbb-75f8-4b3e-8d99-46abb21ea672)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the custom setter declared with a functional component and invoking its onChange event, then trace where the event method is looked up. Done means the functional-component setter can invoke onChange without a missing-method error; the issue provides no files or tests to target.

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.