Added additional sentence to custom args hint and fixed issue where empty args could be added through the args modifier

This commit is contained in:
Tzahi12345
2020-05-06 02:38:39 -04:00
parent cc47823b0c
commit d4ad1f9fce
4 changed files with 8 additions and 3 deletions

View File

@@ -143,7 +143,7 @@
<div class="col-12 mt-5">
<mat-form-field class="text-field" style="margin-right: 12px;" color="accent">
<textarea matInput [(ngModel)]="new_config['Downloader']['custom_args']" placeholder="Custom args" i18n-placeholder="Custom args input placeholder"></textarea>
<mat-hint><ng-container i18n="Custom args setting input hint">Global custom args for downloads on the home page.</ng-container></mat-hint>
<mat-hint><ng-container i18n="Custom args setting input hint">Global custom args for downloads on the home page. Args are delimited using two commas like so: ,,</ng-container></mat-hint>
<button class="args-edit-button" (click)="openArgsModifierDialog()" mat-icon-button><mat-icon>edit</mat-icon></button>
</mat-form-field>
</div>