From 9ddbd4ca57f8146c2bd0e47d9570c16b62d92af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 3 Nov 2025 00:11:02 +0100 Subject: [PATCH] Show the regex hint in the browser validation notice. --- src/Form/Part/PartBaseType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Form/Part/PartBaseType.php b/src/Form/Part/PartBaseType.php index 7d0937ab..f200b791 100644 --- a/src/Form/Part/PartBaseType.php +++ b/src/Form/Part/PartBaseType.php @@ -93,6 +93,7 @@ class PartBaseType extends AbstractType if ($this->ipnSuggestSettings->regex !== null && $this->ipnSuggestSettings->regex !== '') { $ipnAttr['pattern'] = $this->ipnSuggestSettings->regex; $ipnAttr['placeholder'] = $this->ipnSuggestSettings->regex; + $ipnAttr['title'] = $this->ipnSuggestSettings->regexHelp; } $ipnOptions = [