分组类型的select的change事件通过selectedItems无法获得被选择项
Open
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
版本6.10
点击按钮后click事件是否可以触发另一个select组件的change事件,能否执行类似下面的动作
{
"actionType": "emit",
"componentId": "myForm:city", // 正确组件标识
"eventName": "change",
"args": {"value": "shanghai"}
}
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the version 6.10 configuration with a grouped select, a button click, and the select's change event. Trace the select change handling and the actionType "emit" entry point; done means the selected item is available through selectedItems and the button can emit the requested change event with the supplied value.
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