feature(form): support common event callback
CrazyWood007 opened this issue · comments
Cloud commented
Is your feature request related to a problem? Please describe.
Some components maybe have common actions like sent a request, pop up a message and so on.
I want to fire a event and do some actions in the event callback.
Description
A Event callback mechanism, support async
and await
at the same time.
Describe the solution you'd like
Custom components can use fireEvent
to throw a event and I can do actions in the event callback named onEvent
to process it.
Describe alternatives you've considered
No response
Self-service
- I'd be willing to contribute this feature to DripForm myself.