up similar cases page
This commit is contained in:
parent
7cebea45d8
commit
848169595d
13 changed files with 459 additions and 392 deletions
|
|
@ -77,13 +77,16 @@ export class MultiSelector implements OnInit {
|
|||
}
|
||||
|
||||
onInputClickedOrFocused(event?: any) {
|
||||
// Informe le parent que cet input a été cliqué/focus pour fermer les autres dropdowns
|
||||
this.clickedOnInput.emit({ label: this.label });
|
||||
if (this.disabled) {
|
||||
console.log('onInputClickedOrFocused', this.disabled, event)
|
||||
if (!this.disabled) {
|
||||
|
||||
// Informe le parent que cet input a été cliqué/focus pour fermer les autres dropdowns
|
||||
this.clickedOnInput.emit({label: this.label});
|
||||
this.displayDropdown = true;
|
||||
} else {
|
||||
console.info('disabled input');
|
||||
return;
|
||||
}
|
||||
this.displayDropdown = true;
|
||||
}
|
||||
|
||||
onClickInput() {
|
||||
|
|
@ -93,7 +96,7 @@ export class MultiSelector implements OnInit {
|
|||
return;
|
||||
}
|
||||
// Informe le parent pour fermer les autres puis ouvre celui-ci
|
||||
this.clickedOnInput.emit({ label: this.label });
|
||||
this.clickedOnInput.emit({label: this.label});
|
||||
this.displayDropdown = true;
|
||||
console.log('Opened dropdown:', this.displayDropdown);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue