diff --git a/lib/NGCP/Panel/Form/Subscriber/SubscriberSubAdminAPI.pm b/lib/NGCP/Panel/Form/Subscriber/SubscriberSubAdminAPI.pm index 193a5fda59..d8946d60ee 100644 --- a/lib/NGCP/Panel/Form/Subscriber/SubscriberSubAdminAPI.pm +++ b/lib/NGCP/Panel/Form/Subscriber/SubscriberSubAdminAPI.pm @@ -155,13 +155,9 @@ has_field 'display_name' => ( ); has_field 'alias_numbers' => ( - type => '+NGCP::Panel::Field::AliasNumber', - setup_for_js => 1, + type => 'Repeatable', do_wrapper => 1, do_label => 0, - tags => { - controls_div => 1, - }, wrapper_class => [qw/hfh-rep/], element_attr => { rel => ['tooltip'], @@ -169,6 +165,10 @@ has_field 'alias_numbers' => ( }, ); +has_field 'alias_numbers.contains' => ( + type => '+NGCP::Panel::Field::E164', +); + has_field 'is_pbx_pilot' => ( type => 'Boolean', label => 'Is PBX Pilot?',