Upgrade ANR client to API spec version 0.0.8
[portal/ric-dashboard.git] / webapp-frontend / src / app / anr-xapp / anr-edit-ncr-dialog.component.ts
index 2857f55..57a4b64 100644 (file)
@@ -43,11 +43,10 @@ export class ANREditNCRDialogComponent implements OnInit {
     }
 
     ngOnInit() {
-        const namePattern = /^([A-Z])+([0-9])+$/;
         this.ncrDialogForm = new FormGroup({
             servingCellNrcgi: new FormControl(this.data.servingCellNrcgi), // readonly
             neighborCellNrpci: new FormControl(this.data.neighborCellNrpci), // readonly
-            neighborCellNrcgi: new FormControl(this.data.neighborCellNrcgi, [Validators.required, Validators.pattern(namePattern)]),
+            neighborCellNrcgi: new FormControl(this.data.neighborCellNrcgi, [Validators.required]),
             flagNoHo: new FormControl(this.data.flagNoHo),
             flagNoXn: new FormControl(this.data.flagNoXn),
             flagNoRemove: new FormControl(this.data.flagNoRemove)