Skip to content

Pre-select Radio Button based on database data #845

Answered by doemser
SabinePfanner asked this question in Web
Discussion options

You must be logged in to vote

You can use the defaultChecked attribute, here is a simple prototype:

https://stackblitz.com/edit/vitejs-vite-wkjmey?file=src%2Fmain.jsx,src%2FApp.jsx&terminal=dev

Let met know if that helped

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Roland-Hufnagel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Web
Labels
None yet
2 participants