Add more spellChecks

This commit is contained in:
Lim Chee Aun 2023-02-11 06:21:23 +08:00
parent 0040deaa0a
commit 5911eb8033

View file

@ -816,6 +816,7 @@ function Compose({
disabled={uiState === 'loading'}
class="spoiler-text-field"
lang={language}
spellCheck="true"
style={{
opacity: sensitive ? 1 : 0,
pointerEvents: sensitive ? 'auto' : 'none',
@ -1433,6 +1434,7 @@ function Poll({
maxlength={maxCharactersPerOption}
placeholder={`Choice ${i + 1}`}
lang={lang}
spellCheck="true"
onInput={(e) => {
const { value } = e.target;
options[i] = value;