mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-15 15:17:33 -06:00
[frontend] Better autocapitalize/spellcheck settings on forms (#3077)
This commit is contained in:
parent
5769722c58
commit
bbbf6ebe37
20 changed files with 205 additions and 38 deletions
|
|
@ -117,6 +117,8 @@ export default function NewEmojiForm() {
|
|||
<TextInput
|
||||
field={form.shortcode}
|
||||
label="Shortcode, must be unique among the instance's local emoji"
|
||||
autoCapitalize="none"
|
||||
spellCheck="false"
|
||||
{...{pattern: "^\\w{2,30}$"}}
|
||||
/>
|
||||
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ function EmojiList({ emoji }: EmojiListParams) {
|
|||
field={filterField}
|
||||
name="emoji-shortcode"
|
||||
placeholder="Search"
|
||||
autoCapitalize="none"
|
||||
spellCheck="false"
|
||||
/>
|
||||
</div>
|
||||
<div className="entries scrolling">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue