mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +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){
|
navigateTo(ev){
|
||||||
this.route.navigate(['/home/events',ev]);
|
this.route.navigate(['/home/events',ev]);
|
||||||
}
|
}
|
||||||
async openAttachments(){
|
async openAttachments() {
|
||||||
const modal = await this.modalCtrl.create({
|
const modal = await this.modalCtrl.create({
|
||||||
component: AttachmentsPage,
|
component: AttachmentsPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-text d-flex ion-align-items-center">
|
<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>
|
||||||
<div (click)="clearSearchInput()" class="d-flex align-center icon">
|
<div (click)="clearSearchInput()" class="d-flex align-center icon">
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ export class HeaderPage implements OnInit {
|
|||||||
|
|
||||||
let classs, showSearchInput, type;
|
let classs, showSearchInput, type;
|
||||||
if(window.innerWidth < 1366) {
|
if(window.innerWidth < 1366) {
|
||||||
classs = 'modal modal-width-100 modal-padding-top'
|
classs = 'modal modal-width-100'
|
||||||
showSearchInput = true
|
showSearchInput = true
|
||||||
} else {
|
} else {
|
||||||
classs = 'modal modal-desktop desktop-search'
|
classs = 'modal modal-desktop desktop-search'
|
||||||
|
|||||||
+5
-1
@@ -19,5 +19,9 @@
|
|||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"fullTemplateTypeCheck": true,
|
"fullTemplateTypeCheck": true,
|
||||||
"strictInjectionParameters": true
|
"strictInjectionParameters": true
|
||||||
}
|
},
|
||||||
|
"include": [
|
||||||
|
"src/app/home/home.page.ts",
|
||||||
|
"src/app/services/notifications.service.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user