From 7e6c05f097faceeb05fc8af21c745b74b9ede1e9 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 5 Oct 2021 02:29:38 +0200 Subject: [PATCH] TT#134254 change fax destination email field type * Email field is now Text to work with scenarios when use_regex is enabled Change-Id: Ibd8d1932e8ed3bcec6c4a6a08cbc16e5a192a617 --- lib/NGCP/Panel/Form/Faxserver/API.pm | 2 +- lib/NGCP/Panel/Form/Faxserver/Destination.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/NGCP/Panel/Form/Faxserver/API.pm b/lib/NGCP/Panel/Form/Faxserver/API.pm index 8d9af49317..03f72260da 100644 --- a/lib/NGCP/Panel/Form/Faxserver/API.pm +++ b/lib/NGCP/Panel/Form/Faxserver/API.pm @@ -43,7 +43,7 @@ has_field 'destinations' => ( ); has_field 'destinations.destination' => ( - type => 'Email', + type => 'Text', label => 'Destination Email', required => 1, ); diff --git a/lib/NGCP/Panel/Form/Faxserver/Destination.pm b/lib/NGCP/Panel/Form/Faxserver/Destination.pm index d263ea471f..cfabbac69e 100644 --- a/lib/NGCP/Panel/Form/Faxserver/Destination.pm +++ b/lib/NGCP/Panel/Form/Faxserver/Destination.pm @@ -28,7 +28,7 @@ has_field 'destination.id' => ( ); has_field 'destination.destination' => ( - type => 'Email', + type => 'Text', label => 'Destination Email', required => 1, wrapper_class => [qw/hfh-rep-field/],