Replies: 1 comment
-
Hey, can you please provide a link to a repo with a minimal reproduction of this issue? Thanks! |
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
-
I'm trying to pass safe action as a prop to a form but I'm running into so tricky type errors. Please forgive me if this is a stupid question, I worry I'm missing something obvious. I've tried a bunch or work arounds but the example below demonstrates the issue I'm running into.
Safe update action
Parent page function
Child client form function
type error 1:
type error 2:
It looks like the core issue is that the type changes when
.bindArgsSchemas
is used with the actionClient.I know it all looks like a mess, but does anyone have an idea of how to approach passing one of these bound safe actions through to a child prop? I couldnt find a good example to emulate.
Beta Was this translation helpful? Give feedback.
All reactions