Déconnexion
This commit is contained in:
@@ -53,6 +53,16 @@
|
||||
<span class="field-value bio-value">{{ bio() }}</span>
|
||||
</ng-container>
|
||||
<ng-template #editBioBlock>
|
||||
<input
|
||||
class="field-input"
|
||||
[(ngModel)]="bio"
|
||||
[ngModel]="bio()"
|
||||
(ngModelChange)="bio.set($event)"
|
||||
(blur)="toggleEditBio()"
|
||||
(keydown.enter)="toggleEditBio()"
|
||||
autofocus
|
||||
/>
|
||||
</ng-template>
|
||||
<textarea class="field-input bio-textarea" [value]="bio()" (input)="bio.set($any($event.target).value)" (blur)="toggleEditBio()" autofocus></textarea>
|
||||
<button class="edit-btn" (click)="toggleEditBio()" title="Modifier">
|
||||
<svg *ngIf="!editingBio()" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
@@ -63,7 +73,6 @@
|
||||
<path d="M4 10L8 14L16 6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user