You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
I'd expect the onChange handler to be called.
Additional context
I'm looking to conditionally render fields in a form as requested in #6 but I feel like having a custom manager for a built-in field just to get the onChange handler to work, feels too detailed for such a common task.
Plus, the onChange attribute is already part of the FormField definition so when working with typescript it tells you that it's already part of the API.
Anyway, thanks for this tool, was super easy to create a pretty cool form 🙏
P.S.
if you could support ink@4 and react@18 that would also be amazing!
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating a FormField with an onChange handler, the handler isn't called, even though it's defined om the type.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd expect the onChange handler to be called.
Additional context
I'm looking to conditionally render fields in a form as requested in #6 but I feel like having a custom manager for a built-in field just to get the onChange handler to work, feels too detailed for such a common task.
Plus, the onChange attribute is already part of the FormField definition so when working with typescript it tells you that it's already part of the API.
Anyway, thanks for this tool, was super easy to create a pretty cool form 🙏
P.S.
if you could support ink@4 and react@18 that would also be amazing!
The text was updated successfully, but these errors were encountered: