vueuse/vueuse
GitHub で見る`refWithControl` | Is is able to implement async control of onBeforeChange
Open
#4,668 opened on 2025年3月20日
good first issue
説明
Clear and concise description of the problem
Before the value is changed, it is possible to confirm it in a pop-up window, and then change it, sometimes without confirmation. The onBeforeChange seems to be able to do this, but the problem is that it is synchronous and the popup is asynchronous.
Suggested solution
onBeforeChange:<T>(v:T)=>Promise<T>
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.