This commit is contained in:
lingdocs 2022-02-10 11:41:02 +04:00
parent 4429ce0456
commit d377c26c6e
1 changed files with 0 additions and 1 deletions

View File

@ -46,7 +46,6 @@ function LanguageSelect({ value, onChange }: {
<label htmlFor="otherLang" className="form-label d-flex flex-row align-items-center"> <label htmlFor="otherLang" className="form-label d-flex flex-row align-items-center">
<span>Custom <a href="https://www.w3.org/International/articles/language-tags/" target="_blank" rel="noreferrer">IETF BCP 47</a> Language Code</span> <span>Custom <a href="https://www.w3.org/International/articles/language-tags/" target="_blank" rel="noreferrer">IETF BCP 47</a> Language Code</span>
</label> </label>
{/* TODO: for some reason can't use value={value} with this - but it still works */}
<input onChange={(e) => onChange(e.target.value)} type="text" className="form-control" id="otherLang" /> <input onChange={(e) => onChange(e.target.value)} type="text" className="form-control" id="otherLang" />
</div>} </div>}
</div>; </div>;