We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a806eab commit a0c90d8Copy full SHA for a0c90d8
projects/saas-ui/src/app/main/components/tenant-registration/tenant-registration.component.ts
@@ -71,8 +71,16 @@ export class TenantRegistrationComponent {
71
this.route.params.subscribe(params => {
72
this.leadId = params['leadId'];
73
});
74
+ // for automatically writing domain name from email
75
+ this.tenantRegForm.get('email').valueChanges.subscribe(email => {
76
+ const emailDomain = email?.substring(email.lastIndexOf('@') + 1);
77
+ if (emailDomain) {
78
+ this.tenantRegForm.get('domains').setValue(emailDomain);
79
+ }
80
+ });
81
}
82
83
+
84
getRadioOptions() {
85
this.billingPlanService.getPlanOptions().subscribe(res => {
86
this.subscriptionPlans = res;
0 commit comments