[aur-dev] [PATCH 1/1] disable autocorrection for package search input field
From: Christian Hesse <mail@eworm.de> Searching for packages with mobile devices can be quite... adventurous. Most package names are not contained in dictionaries, so let's disable autocorrection. Signed-off-by: Christian Hesse <mail@eworm.de> --- web/html/home.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/home.php b/web/html/home.php index 3252876..23c6286 100644 --- a/web/html/home.php +++ b/web/html/home.php @@ -130,7 +130,7 @@ html_header( __("Home") ); <fieldset> <label for="pkgsearch-field"><?= __('Package Search') ?>:</label> <input type="hidden" name="O" value="0" /> - <input id="pkgsearch-field" type="text" name="K" size="30" value="<?php if (isset($_REQUEST["K"])) { print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); } ?>" maxlength="35" /> + <input id="pkgsearch-field" type="text" name="K" size="30" value="<?php if (isset($_REQUEST["K"])) { print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); } ?>" maxlength="35" autocorrect="off" /> </fieldset> </form> </div> -- 2.4.5
participants (1)
-
Christian Hesse