Skip to content

Commit e5ea6ee

Browse files
committed
fix(arc-saas): removed contact feild
removed contact feild
1 parent 34d84ce commit e5ea6ee

File tree

3 files changed

+1
-40
lines changed

3 files changed

+1
-40
lines changed

projects/saas-ui/src/app/on-boarding/components/add-subscriber/add-subscriber.component.html

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -130,42 +130,6 @@ <h2 class="title">Marketplace Registration</h2>
130130
</div>
131131
</div>
132132

133-
<div class="input-box">
134-
<div class="input-title">
135-
<span>Contact<span class="required">*</span></span>
136-
</div>
137-
<div class="input">
138-
<div class="input-container">
139-
<input
140-
type="text"
141-
placeholder="Enter your contact"
142-
status="info"
143-
formControlName="contact"
144-
nbInput
145-
/>
146-
<nb-icon
147-
icon="phone-outline"
148-
class="info-icon"
149-
nbTooltip="Please enter your Contact Number."
150-
></nb-icon>
151-
</div>
152-
<div
153-
class="error-msg"
154-
*ngIf="
155-
marketSubsForm.get('contact').invalid &&
156-
marketSubsForm.get('contact').touched
157-
"
158-
>
159-
<div
160-
class="error-msg"
161-
*ngIf="marketSubsForm.get('contact').hasError('pattern')"
162-
>
163-
Contact must be numeric only.
164-
</div>
165-
</div>
166-
</div>
167-
</div>
168-
169133
<div class="input-box">
170134
<div class="input-title">
171135
<span>Zip Code<span class="required">*</span></span>
@@ -217,7 +181,7 @@ <h2 class="title">Marketplace Registration</h2>
217181
</div>
218182
</div>
219183

220-
<div class="input-box">
184+
<div class="input-box address-input-box">
221185
<div class="input-title">
222186
<span>
223187
Application Sub-Domain <span class="required">*</span>

projects/saas-ui/src/app/on-boarding/components/add-subscriber/add-subscriber.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export class AddSubscriberComponent {
3131
this.marketSubsForm = this.fb.group({
3232
firstName: ['', [Validators.required]],
3333
lastName: ['', [Validators.required]],
34-
contact: ['', [Validators.required, Validators.pattern('^[0-9]*$')]],
3534
companyName: ['', Validators.required],
3635
email: ['', [Validators.required, Validators.email]],
3736
address: [''],
@@ -112,7 +111,6 @@ export class AddSubscriberComponent {
112111
const user: Subscriber = {
113112
firstName: userData.firstName,
114113
lastName: userData.lastName,
115-
contact: userData.contact,
116114
companyName: userData.companyName,
117115
email: userData.email,
118116
address: userData.address,

projects/saas-ui/src/app/shared/models/subscriber.model.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
export interface Subscriber {
22
firstName: string;
33
lastName: string;
4-
contact: string;
54
companyName: string;
65
email: string;
76
address?: string;

0 commit comments

Comments
 (0)