fix: assign id and name to input fields

This commit is contained in:
Chneemann 2025-04-06 22:06:48 +02:00
parent 8f79b0cf76
commit 0646aaae6b
2 changed files with 5 additions and 0 deletions

View file

@ -76,6 +76,7 @@ export class ContactDetailComponent {
*/
toggleConfirmDialog(): void {
this.showConfirmDialog = !this.showConfirmDialog;
this.overlayService.setOverlayData('dialog', '');
}
/**

View file

@ -10,6 +10,8 @@
<div class="badge">
<div class="picker">
<input
id="colorPicker"
name="colorPicker"
[(colorPicker)]="overlayData.color"
[style.background]="newColor === '' ? overlayData.color : newColor"
(colorPickerChange)="updateColor($event)"
@ -46,6 +48,8 @@
<div class="badge">
<div class="picker">
<input
id="colorPicker"
name="colorPicker"
[(colorPicker)]="randomColor"
[style.background]="randomColor"
(colorPickerSelect)="updateColor($event)"