A Button Per form or One Form with Multiple Buttons
The Call Kent Podcast
English - January 26, 2024 21:30 - 4 minutes - 4.46 MBTechnology software development javascript react testing career software engineering Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: Toasts in Remix
Next Episode: How do you create advanced content for developers
Hi Kent,
It's Jan 👋
When creating a dropdown menu (e.g. to pick a role in an organization), would you wrap the whole menu in a form tag and then render multiple buttons within that form (one for each role)? Or would you render multiple forms (one for each role) with each having their own submit button?
Thanks a ton if you answer!
Best regards,
Jan