Skip to content

Commit

Permalink
Fix Input- and SelectControl not appearing as one item
Browse files Browse the repository at this point in the history
  • Loading branch information
Studio384 committed Aug 18, 2022
1 parent ef5ba67 commit f1b2339
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/InputControl/InputControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const InputControl = ({
const uniqueName = name ?? id;

return (
<>
<div>
<div className="form-floating">
<input
name={uniqueName}
Expand All @@ -85,7 +85,7 @@ export const InputControl = ({
{helper}
</div>
)}
</>
</div>
);
};

Expand Down
4 changes: 2 additions & 2 deletions src/components/SelectControl/SelectControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const SelectControl = ({
);

return (
<>
<div>
<div className="form-floating">
<Listbox
value={value}
Expand Down Expand Up @@ -146,7 +146,7 @@ export const SelectControl = ({
{helper}
</div>
)}
</>
</div>
);
};

Expand Down

0 comments on commit f1b2339

Please sign in to comment.