From c9c8817b14f5b65ac4395690702cbdbf5f804284 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 27 Apr 2023 13:33:21 +0200 Subject: [PATCH] Enable inputmode for URL form fields by default --- .../lib/system/form/builder/field/UrlFormField.class.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wcfsetup/install/files/lib/system/form/builder/field/UrlFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/UrlFormField.class.php index ade83d4295..ebd9e95802 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/UrlFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/UrlFormField.class.php @@ -16,6 +16,13 @@ use wcf\util\Url; */ class UrlFormField extends TextFormField { + public function __construct() + { + parent::__construct(); + + $this->inputMode('url'); + } + /** * @inheritDoc * @since 5.4 -- 2.20.1