fix: Set input type for AddLinkModal

The input type for the AddLinkModal was set to 'text' instead of 'url'.
This causes various frustrations when using the web app on mobile; for
example, autocorrect is applied to URLs that are manually typed.

https://developer.mozilla.org/en-US/docs/Learn/Forms/HTML5_input_types#url_field
This commit is contained in:
Tomo 2023-07-26 12:32:06 -07:00
parent 26396487fa
commit 89593263e7

View file

@ -101,7 +101,7 @@ export function AddLinkModal(props: AddLinkModalProps): JSX.Element {
}}
>
<FormInput
type="text"
type="url"
value={link}
autoFocus
placeholder="https://example.com"