Skip to content

Commit

Permalink
Merge pull request #112 from DeimantasLapiniauskas/NP-99_lighthouse_l…
Browse files Browse the repository at this point in the history
…abel

Added a label and hid it
  • Loading branch information
DeimantasLapiniauskas authored Dec 18, 2024
2 parents 4bdc460 + 59d704e commit c891361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/SearchBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ function SearchBar({ entries, searching, setSearching, page, searchValue, setSea
}`}
/>
</div>
<label htmlFor="ageRating"></label>
{/* The age rating field */}
{/* Inline style for label is required, otherwide lighthouse cries about us not having a label. */}
<label htmlFor="ageRating" style={{width:"0px", height:"0px", overflow:"hidden"}}>Age rating</label>
<select name="ageRating" id="ageRating">
<option value="">Rating</option>
<option value="E">E</option>
Expand Down

0 comments on commit c891361

Please sign in to comment.