From: Marcel Werk Date: Thu, 27 Apr 2023 11:33:21 +0000 (+0200) Subject: Enable inputmode for URL form fields by default X-Git-Tag: 6.0.0_Alpha_1~186^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c9c8817b14f5b65ac4395690702cbdbf5f804284;p=GitHub%2FWoltLab%2FWCF.git Enable inputmode for URL form fields by default --- 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