From ccd3c4caf002ff4b995754ecb142757d9e0fe36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be> Date: Wed, 17 Oct 2018 10:26:29 +0200 Subject: [PATCH] :sparkles: feat(attributes) Use url input type for URLAttribute issue #5910 --- include/simpleplugin/class_helpersAttribute.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/simpleplugin/class_helpersAttribute.inc b/include/simpleplugin/class_helpersAttribute.inc index 60b780235..9b477058c 100644 --- a/include/simpleplugin/class_helpersAttribute.inc +++ b/include/simpleplugin/class_helpersAttribute.inc @@ -81,9 +81,9 @@ class PathAttribute extends TestValidateAttribute */ class URLAttribute extends TestValidateAttribute { - protected $trim = TRUE; - - protected $testFunc = 'is_url'; + protected $trim = TRUE; + protected $testFunc = 'is_url'; + protected $inputType = 'url'; } /*! \brief This class allow to handle easily a String LDAP attribute that contains an IP (v4 or v6) -- GitLab