Skip to content
Snippets Groups Projects
Commit 713e69d6 authored by xaralis's avatar xaralis
Browse files

fix: radio input name hoisting

parent f98f99eb
No related branches found
No related tags found
No related merge requests found
Pipeline #1951 passed
......@@ -87,7 +87,7 @@ const AddAnnouncementForm = ({ className }) => {
<label>
<input
type="radio"
name="type"
name="announcementType"
value="announcement"
defaultChecked
/>
......@@ -97,7 +97,7 @@ const AddAnnouncementForm = ({ className }) => {
<div className="radio form-field__control">
<label>
<input type="radio" name="type" value="voting" />
<input type="radio" name="announcementType" value="voting" />
<span>Rozhodující hlasování</span>
</label>
</div>
......
......@@ -56,7 +56,7 @@ const AddPostForm = ({ className }) => {
<div className="form-field__wrapper">
<div className="radio form-field__control">
<label>
<input type="radio" name="type" value="post" defaultChecked />
<input type="radio" name="postType" value="post" defaultChecked />
<span>
Přidat <strong>běžný příspěvek</strong>
</span>
......@@ -65,7 +65,7 @@ const AddPostForm = ({ className }) => {
<div className="radio form-field__control">
<label>
<input type="radio" name="type" value="procedure-proposal" />
<input type="radio" name="postType" value="procedure-proposal" />
<span>
Přidat <strong>návrh postupu</strong>
</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment