From 9ce900c767a04b45898278b3649551981ec32582 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sun, 24 Nov 2019 02:42:38 -0500 Subject: [PATCH] fix: Avoid autocapitalize keyboard for instance name (#1653) * fix: Avoid autocapitalize keyboard for instance name On iOS Safari (possibly other browsers as well), auto-capitalization is enabled even for input fields with inputmode=url. In my testing, the inputmode attribute is working supported and working (in so far that iOS does consider it and and provides me a keyboard optimised for URL inputs, with quick buttons for slash and .com etc). The autocapitalize is supported on Safari, per: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocapitalize Fixes https://github.com/nolanlawson/pinafore/issues/1652. * fix: Avoid spell check on Instance name field Checking of spelling and grammar and automatic corrections thereof are likely unwanted when entering the instance domain/URL. --- src/routes/_pages/settings/instances/add.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/_pages/settings/instances/add.html b/src/routes/_pages/settings/instances/add.html index f6ff61fe..502ddfe1 100644 --- a/src/routes/_pages/settings/instances/add.html +++ b/src/routes/_pages/settings/instances/add.html @@ -25,7 +25,7 @@ -