Skip to content

Commit 355f7bd

Browse files
authored
Merge pull request #92 from mansurskTarento/marketplace-provider-ui
allowing , in description field in onboard provider
2 parents c455504 + 5ca7fbd commit 355f7bd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

project/ws/app/src/lib/routes/home/routes/marketplace-provider/components/content-upload/content-upload.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</div>
3636
<div class="flex flex-col gap-1 mt-1 items-center">
3737
<span class="file-size">Max file size: 100 MB</span>
38-
<span class="file-type">Supported file types: CSV, .xlsx</span>
38+
<span class="file-type">Supported file types: .csv, .xlsx</span>
3939
</div>
4040
</div>
4141
</ng-container>
@@ -198,7 +198,7 @@
198198
</div>
199199
<div class="flex flex-col gap-1 mt-1 items-center">
200200
<span class="file-size">Max file size: 100 MB</span>
201-
<span class="file-type">Supported file types: CSV, .xlsx</span>
201+
<span class="file-type">Supported file types: csv, .xlsx</span>
202202
</div>
203203
<input type="file" style="display: none;" #fileInput accept=".xlsx, .csv"
204204
(change)="onDrop($event.target.files[0]); fileInput.value = null" />

project/ws/app/src/lib/routes/home/routes/marketplace-provider/components/provider-details/provider-details.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
Only ( a-z/A-Z/0-9) characters are supported
6262
</mat-error>
6363
<mat-hint class="w-full flex justify-between items-center">
64-
<span class="input-note">Only ( a-z/A-Z , 0-9) characters are supported</span>
64+
<span class="input-note">Only ( a-z/A-Z/0-9) characters are supported</span>
6565
<span class="input-note">{{getTextLength('partnerCode')}}/6</span>
6666
</mat-hint>
6767
</mat-form-field>
@@ -104,10 +104,10 @@
104104
</mat-error>
105105
<mat-error [hidden]="false" aria-label="Event title Error|Explains event title is required "
106106
*ngIf="getControlValidation('description', 'pattern')">
107-
Only ( a-z/A-Z/0-9 . - _ $ / : [ ]' !) characters are supported
107+
Only ( a-z/A-Z/0-9 . - _ $ / : [ ] ' , !) characters are supported
108108
</mat-error>
109109
<mat-hint class="w-full flex justify-between items-center">
110-
<span class="input-note">Only ( a-z/A-Z/0-9 . - _ $ / : [ ]' !) characters are supported</span>
110+
<span class="input-note">Only ( a-z/A-Z/0-9 . - _ $ / : [ ] ' , !) characters are supported</span>
111111
<span class="input-note">{{getTextLength('description')}}/500</span>
112112
</mat-hint>
113113
</mat-form-field>

project/ws/app/src/lib/routes/home/routes/marketplace-provider/components/provider-details/provider-details.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class ProviderDetailsComponent implements OnInit, OnChanges {
9191
contentPartnerName: new FormControl('', [Validators.required, Validators.pattern(/^[a-zA-Z0-9.\-_$/:\[\] ' !]*$/), Validators.maxLength(70)]),
9292
partnerCode: new FormControl('', [Validators.required, Validators.pattern(/^[a-zA-Z0-9]*$/), Validators.maxLength(6)]),
9393
websiteUrl: new FormControl('', [Validators.required, Validators.pattern(/^[a-zA-Z0-9.\-_$/:\[\] ' !]*$/), Validators.maxLength(70)]),
94-
description: new FormControl('', [Validators.required, Validators.pattern(/^[a-zA-Z0-9.\-_$/:\[\] ' !]*$/), Validators.maxLength(500)]),
94+
description: new FormControl('', [Validators.required, Validators.pattern(/^[a-zA-Z0-9,.\-_$/:\[\] ' !]*$/), Validators.maxLength(500)]),
9595
providerTips: this.formBuilder.array([]),
9696
})
9797
// this.transforamtionForm = this.formBuilder.group({

0 commit comments

Comments
 (0)