Skip to content

Commit

Permalink
Docs: Avoid inconsistent states in language selection example
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Jan 14, 2022
1 parent 7a08f42 commit 532fcd8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/languages.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,35 +77,35 @@ <h1 class="display-1 mt-md-3">Languages</h1>
<div class="col col-lg-10 col-xl-8">
<h2 class="mt-md-3 mb-3">Select language</h2>
<div class="form-check">
<input type="radio" class="form-check-input" id="lang-select-cs" value="cs" checked name="lang-select" onclick="toggleLanguage();">
<input type="radio" class="form-check-input" id="lang-select-cs" value="cs" autocomplete="off" checked name="lang-select" onclick="toggleLanguage();">
<label class="form-check-label" for="lang-select-cs">Czech</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" id="lang-select-de" value="de" name="lang-select" onclick="toggleLanguage();">
<input type="radio" class="form-check-input" id="lang-select-de" value="de" autocomplete="off" name="lang-select" onclick="toggleLanguage();">
<label class="form-check-label" for="lang-select-de">German</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" id="lang-select-en" value="en" name="lang-select" onclick="toggleLanguage();">
<input type="radio" class="form-check-input" id="lang-select-en" value="en" autocomplete="off" name="lang-select" onclick="toggleLanguage();">
<label class="form-check-label" for="lang-select-en">English</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" id="lang-select-hu" value="hu" name="lang-select" onclick="toggleLanguage();">
<input type="radio" class="form-check-input" id="lang-select-hu" value="hu" autocomplete="off" name="lang-select" onclick="toggleLanguage();">
<label class="form-check-label" for="lang-select-hu">Hungarian</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" id="lang-select-pl" value="pl" name="lang-select" onclick="toggleLanguage();">
<input type="radio" class="form-check-input" id="lang-select-pl" value="pl" autocomplete="off" name="lang-select" onclick="toggleLanguage();">
<label class="form-check-label" for="lang-select-pl">Polish</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" id="lang-select-ru" value="ru" name="lang-select" onclick="toggleLanguage();">
<input type="radio" class="form-check-input" id="lang-select-ru" value="ru" autocomplete="off" name="lang-select" onclick="toggleLanguage();">
<label class="form-check-label" for="lang-select-ru">Russian</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" id="lang-select-sk" value="sk" name="lang-select" onclick="toggleLanguage();">
<input type="radio" class="form-check-input" id="lang-select-sk" value="sk" autocomplete="off" name="lang-select" onclick="toggleLanguage();">
<label class="form-check-label" for="lang-select-sk">Slovak</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" id="lang-select-uk" value="uk" name="lang-select" onclick="toggleLanguage();">
<input type="radio" class="form-check-input" id="lang-select-uk" value="uk" autocomplete="off" name="lang-select" onclick="toggleLanguage();">
<label class="form-check-label" for="lang-select-uk">Ukrainian</label>
</div>
</div>
Expand Down

0 comments on commit 532fcd8

Please sign in to comment.