mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
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:
parent
26396487fa
commit
89593263e7
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ export function AddLinkModal(props: AddLinkModalProps): JSX.Element {
|
|||
}}
|
||||
>
|
||||
<FormInput
|
||||
type="text"
|
||||
type="url"
|
||||
value={link}
|
||||
autoFocus
|
||||
placeholder="https://example.com"
|
||||
|
|
|
|||
Loading…
Reference in a new issue