mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 05:06:55 +00:00
feat(console): phone number validation with flags (#5139)
Formats the phonenumber according to the preselected country
This commit is contained in:
@@ -58,6 +58,9 @@ import { UserMfaComponent } from './user-detail/user-mfa/user-mfa.component';
|
||||
import { MachineSecretDialogComponent } from './user-detail/machine-secret-dialog/machine-secret-dialog.component';
|
||||
import { MetadataModule } from 'src/app/modules/metadata/metadata.module';
|
||||
import { QRCodeModule } from 'angularx-qrcode';
|
||||
import { PhoneDetailComponent } from './phone-detail/phone-detail.component';
|
||||
import { CountryCallingCodesService } from 'src/app/services/country-calling-codes.service';
|
||||
import { MatLegacySelectModule as MatSelectModule } from '@angular/material/legacy-select';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@@ -76,8 +79,10 @@ import { QRCodeModule } from 'angularx-qrcode';
|
||||
DialogU2FComponent,
|
||||
DialogPasswordlessComponent,
|
||||
AuthFactorDialogComponent,
|
||||
PhoneDetailComponent,
|
||||
MachineSecretDialogComponent,
|
||||
],
|
||||
providers: [CountryCallingCodesService],
|
||||
imports: [
|
||||
ChangesModule,
|
||||
CommonModule,
|
||||
@@ -122,6 +127,7 @@ import { QRCodeModule } from 'angularx-qrcode';
|
||||
InputModule,
|
||||
MachineKeysModule,
|
||||
InfoSectionModule,
|
||||
MatSelectModule,
|
||||
],
|
||||
})
|
||||
export class UserDetailModule {}
|
||||
|
||||
Reference in New Issue
Block a user