mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
It should be possible to search by pressing ENTER
This commit is contained in:
@@ -219,7 +219,7 @@ export class EventDetailModalPage implements OnInit {
|
||||
navigateTo(ev){
|
||||
this.route.navigate(['/home/events',ev]);
|
||||
}
|
||||
async openAttachments(){
|
||||
async openAttachments() {
|
||||
const modal = await this.modalCtrl.create({
|
||||
component: AttachmentsPage,
|
||||
componentProps: {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="input-text d-flex ion-align-items-center">
|
||||
<ion-input [(ngModel)]='searchSubject' class="search-input" type="search" placeholder="Pesquisar"></ion-input>
|
||||
<ion-input (keyup.enter)="basicSearch()" [(ngModel)]='searchSubject' class="search-input" type="search" placeholder="Pesquisar"></ion-input>
|
||||
</div>
|
||||
<div (click)="clearSearchInput()" class="d-flex align-center icon">
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ export class HeaderPage implements OnInit {
|
||||
|
||||
let classs, showSearchInput, type;
|
||||
if(window.innerWidth < 1366) {
|
||||
classs = 'modal modal-width-100 modal-padding-top'
|
||||
classs = 'modal modal-width-100'
|
||||
showSearchInput = true
|
||||
} else {
|
||||
classs = 'modal modal-desktop desktop-search'
|
||||
|
||||
+5
-1
@@ -19,5 +19,9 @@
|
||||
"angularCompilerOptions": {
|
||||
"fullTemplateTypeCheck": true,
|
||||
"strictInjectionParameters": true
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src/app/home/home.page.ts",
|
||||
"src/app/services/notifications.service.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user