
Sign up to save your podcasts
Or


Which is the best way to know inside of an action function in Remix with which button a form was submitted
In 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-L75
How to identify which button submits a form
By Kent C. Dodds5
22 ratings
Which is the best way to know inside of an action function in Remix with which button a form was submitted
In 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-L75
How to identify which button submits a form

288 Listeners

990 Listeners

61 Listeners