From 4b6093ef04dbd543ebf068f59edc926409300012 Mon Sep 17 00:00:00 2001 From: HTMLBurger-NG Date: Wed, 22 Feb 2023 10:45:04 +0200 Subject: [PATCH] Allow inputmode attribute for Text_Field --- core/Field/Text_Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Field/Text_Field.php b/core/Field/Text_Field.php index 89e0103c..3decc211 100644 --- a/core/Field/Text_Field.php +++ b/core/Field/Text_Field.php @@ -12,5 +12,5 @@ class Text_Field extends Field { /** * {@inheritDoc} */ - protected $allowed_attributes = array( 'list', 'max', 'maxLength', 'min', 'pattern', 'placeholder', 'readOnly', 'step', 'type', 'is' ); + protected $allowed_attributes = array( 'list', 'max', 'maxLength', 'min', 'pattern', 'placeholder', 'readOnly', 'step', 'type', 'is', 'inputmode' ); }