(front) Autocomplete search on dashboard with Datalist
Create Elasticsearch service to search suggestions Send to page when choose a suggestion - bad way It's impossible to use Object with datalist So it's impossible to distinguish an album from an artist if they have the same name
This commit is contained in:
8
dashboard/src/app/model/suggested.ts
Normal file
8
dashboard/src/app/model/suggested.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export class Suggested {
|
||||
name: string;
|
||||
type: string;
|
||||
|
||||
public toString() : string {
|
||||
return `${this.name} (${this.type})`;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user