acl-services / acl-services/paprika
ListBox [feature] - should report what kind of event was trigger the onChange event
- 主要語言
- JavaScript
- 星號
- 54
- 分支
- 10
- 平均合併
- 1 天 12 小時
- 30 天內合併 PR
- 6
描述
At this moment it's not possible to know what event made the onChange event been triggered, there are legit cases where you want to know if the `onChange` was triggered by an `onClick` or `onKeyDonw`, the Listbox already provided an `event` type passed by the third argument not he onChange callback, but doesn't describe which kind of type created it.
We should modify those string to reflect this change.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Start by finding the ListBox component source and its onChange callback signature, then follow where the third callback argument is built and mapped to event-type strings. Check any nearby type definitions and ListBox docs for the existing onChange event API, since no specific file is named. Update those event labels so click and key events can be distinguished, then run the ListBox-related test suite (or component docs/tests) and confirm behavior/output now reflects the trigger source.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- frontend
- Issue 類型
- 功能
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100