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 {
|
toggleConfirmDialog(): void {
|
||||||
this.showConfirmDialog = !this.showConfirmDialog;
|
this.showConfirmDialog = !this.showConfirmDialog;
|
||||||
|
this.overlayService.setOverlayData('dialog', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@
|
||||||
<div class="badge">
|
<div class="badge">
|
||||||
<div class="picker">
|
<div class="picker">
|
||||||
<input
|
<input
|
||||||
|
id="colorPicker"
|
||||||
|
name="colorPicker"
|
||||||
[(colorPicker)]="overlayData.color"
|
[(colorPicker)]="overlayData.color"
|
||||||
[style.background]="newColor === '' ? overlayData.color : newColor"
|
[style.background]="newColor === '' ? overlayData.color : newColor"
|
||||||
(colorPickerChange)="updateColor($event)"
|
(colorPickerChange)="updateColor($event)"
|
||||||
|
|
@ -46,6 +48,8 @@
|
||||||
<div class="badge">
|
<div class="badge">
|
||||||
<div class="picker">
|
<div class="picker">
|
||||||
<input
|
<input
|
||||||
|
id="colorPicker"
|
||||||
|
name="colorPicker"
|
||||||
[(colorPicker)]="randomColor"
|
[(colorPicker)]="randomColor"
|
||||||
[style.background]="randomColor"
|
[style.background]="randomColor"
|
||||||
(colorPickerSelect)="updateColor($event)"
|
(colorPickerSelect)="updateColor($event)"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue