Skip to content
Snippets Groups Projects
Commit ab13d0a9 authored by Pierre Ecarlat's avatar Pierre Ecarlat
Browse files

Merge branch '462-fix-ui-search-bar-autofilled-in-chrome-cross-to-remove-search-content' into 'dev'

fix(ui) - Search bar autofilled in chrome + cross to remove search content

See merge request !682
parents b530aa81 54cc8dc1
No related branches found
No related tags found
2 merge requests!783V3.0.0,!682fix(ui) - Search bar autofilled in chrome + cross to remove search content
<form class="search-bar">
<input
type="text"
type="search"
name="search"
[placeholder]="placeholder"
[(ngModel)]="value"
(change)="onChange($event)"
(ngModelChange)="onChange()"
(keyup.enter)="handleSearch()"
/>
<app-v3-icon-button
......
......@@ -22,8 +22,7 @@ export class SearchBarV3Component {
this.search.emit(this.value);
}
public onChange(event: Event): void {
this.value = (event.target as HTMLInputElement).value;
public onChange(): void {
this.valueChange.emit(this.value);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment