fix: assign id and name to input fields
This commit is contained in:
parent
8f79b0cf76
commit
0646aaae6b
2 changed files with 5 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ export class ContactDetailComponent {
|
|||
*/
|
||||
toggleConfirmDialog(): void {
|
||||
this.showConfirmDialog = !this.showConfirmDialog;
|
||||
this.overlayService.setOverlayData('dialog', '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue