How would you handle an onSubmit ? I've been trying for hours...
Hi Lucia! May I know what are you trying to do in onSubmit function?
I used the Radio Buttons as options to flag content and made the text options “Innapropriate”, “Misteading”, “Irrelevant” etc. I want to change the “selected” state to the clicked option.value and save it
Hi Lucia, I have updated my code snack example with an onSubmit call. Please check if it helps.
Great thank you so much!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.