[frontend] Better autocapitalize/spellcheck settings on forms (#3077)

This commit is contained in:
tobi 2024-07-08 09:38:27 +02:00 committed by GitHub
commit bbbf6ebe37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 205 additions and 38 deletions

View file

@ -213,14 +213,18 @@ function ReportActionForm({ report }) {
This is useful for providing an explanation about what action was
taken (if any) before the report was marked as resolved.
<br />
<b>
Any comment made here will be visible
to the user that created the report!
</b>
<div className="info">
<i className="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
<b>
If the report was created by a local account, then any
comment made here will be emailed to that account's user!
</b>
</div>
</>
<TextArea
field={form.comment}
label="Comment"
autoCapitalize="sentences"
/>
<MutationButton
disabled={false}