Hide email instruction when error message appears
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54468 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
e6df7c9374
commit
ec583f577e
|
@ -35,8 +35,8 @@
|
||||||
<input placeholder="email" type="text" (click)="resetMessages(); areValid=true"
|
<input placeholder="email" type="text" (click)="resetMessages(); areValid=true"
|
||||||
class="form-control uk-input uk-width-large@l uk-width-medium@s" [(ngModel)] = "recipients" id="recipients"
|
class="form-control uk-input uk-width-large@l uk-width-medium@s" [(ngModel)] = "recipients" id="recipients"
|
||||||
required>
|
required>
|
||||||
<div *ngIf="areValid" class="uk-width-medium uk-text-muted uk-text-small style=display:none">separate multiple emails with a comma</div>
|
<div *ngIf="areValid && !showAddRecipientMessage" class="uk-width-medium uk-text-muted uk-text-small">separate multiple emails with a comma</div>
|
||||||
<div *ngIf="recipients && !areValid" class="uk-width-large uk-text-danger uk-text-small uk-margin-top">Please add valid email/s.</div>
|
<div *ngIf="recipients && !areValid" class="uk-width-large uk-text-danger uk-text-small">Please add valid email/s.</div>
|
||||||
<div *ngIf="!recipients && showAddRecipientMessage" class="uk-width-large uk-text-danger uk-text-small">Please add a recipient.</div>
|
<div *ngIf="!recipients && showAddRecipientMessage" class="uk-width-large uk-text-danger uk-text-small">Please add a recipient.</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue