Merge remote-tracking branch 'origin/dev' into dev

# Conflicts:
#	src/app/app.module.ts
#	src/app/home/home.component.html
#	src/app/home/home.component.ts
This commit is contained in:
2023-04-03 14:58:32 +02:00
7 changed files with 377 additions and 54 deletions

View File

@@ -7,10 +7,28 @@
<input #myInput type="text" [(ngModel)]="luogoSelezionato" (keyup)="cercaLuogo(myInput.value)"
(keydown)="selezionaSuggerimento($event)" placeholder="Type here"
class="input input-bordered input-primary w-full max-w-xs">
<ul class="list">
<li *ngFor="let luogo of luoghiPopup | async">{{luogo.location}}</li>
</ul>
<ng-container *ngIf="luoghiPopup | async as luoghi;">
<ul *ngIf="luoghi.length > 0" class="menu bg-base-200 !w-fit p-2 rounded-box" id="list">
<li class="menu-title">
<span>Places</span>
</li>
<li *ngFor="let luogo of luoghi">
{{luogo.nome}}
</li>
<li class="menu-title">
<span>Near</span>
</li>
<li *ngFor="let luogo of luoghiNear()">
{{luogo.nome}}
</li>
</ul>
</ng-container>
</div>
</div>
</div>