From 79b2a985e09ae275d2eadcf563922cd64ee03c2d Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 5 Oct 2021 18:51:03 +0200 Subject: [PATCH] TT#134254 change MailToFax From email field type * the field type is now Text to enable regexp support Change-Id: Ia205ae2de1bb04c4d7d82cfe3e3874b0cfebadbb --- lib/NGCP/Panel/Form/MailToFax/ACL.pm | 2 +- lib/NGCP/Panel/Form/MailToFax/API.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/NGCP/Panel/Form/MailToFax/ACL.pm b/lib/NGCP/Panel/Form/MailToFax/ACL.pm index 487c69ecf9..c9be15eb72 100644 --- a/lib/NGCP/Panel/Form/MailToFax/ACL.pm +++ b/lib/NGCP/Panel/Form/MailToFax/ACL.pm @@ -28,7 +28,7 @@ has_field 'acl.id' => ( ); has_field 'acl.from_email' => ( - type => 'Email', + type => 'Text', label => 'From email', required => 0, element_attr => { diff --git a/lib/NGCP/Panel/Form/MailToFax/API.pm b/lib/NGCP/Panel/Form/MailToFax/API.pm index cbbb8e442f..d11affd878 100644 --- a/lib/NGCP/Panel/Form/MailToFax/API.pm +++ b/lib/NGCP/Panel/Form/MailToFax/API.pm @@ -63,7 +63,7 @@ has_field 'acl' => ( ); has_field 'acl.from_email' => ( - type => 'Email', + type => 'Text', label => 'From email', required => 0, wrapper_class => [qw/hfh-rep-field/],