EPISODE · Jul 18, 2022 · 3 MIN
How to identify which button submits a form
from The Call Kent Podcast · host Kent C. Dodds
Which is the best way to know inside of an action function in Remix with which button a form was submittedIn this example the name is "action", but again I prefer to call this "intent": https://github.com/remix-run/remix/blob/d0d500849fbd87eace23bb3d479b7c556e314109/examples/multiple-forms/app/routes/invitations.tsx#L70-L75How to identify which button submits a form
Embed this episode
NOW PLAYING
How to identify which button submits a form
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.