Make it possible to return values from action callbacks
#260
Closed
MrOxMasTer
started this conversation in
Ideas
Replies: 1 comment
-
On this topic, it was decided to add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The point is that since
useStateAction
doesn't support progressive enhancement and it doesn't work without javascript, there is no way to return a value other than the one given by the validation library when a validation error occurs.It can be done with
useStateAction
:Action:
client:
How to do it
useActionState
:???
Action:
Beta Was this translation helpful? Give feedback.
All reactions