Closed daniel-centore closed 6 years ago
What errors are you getting in your browser's dev tools network tab?
All of these messages occurred on initial page load. No new messages arrived when I began to type.
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
core.js:3565
Native: tried calling StatusBar.styleDefault, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
util.js:60
Native: tried calling SplashScreen.hide, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
These are not from the network tab but console.
Whoops, my bad. No errors in the network tab.
Is it working for you in Firefox Quantum?
I currently can't test.
Besides, the correct place to ask (and where the code lives) is now here: https://github.com/ionic-team/starters/tree/master/ionic-angular/official/super
@daniel-centore add a log "console.log(event.target.value)" in method "onInput($event)", when you type in search bar in FireFox, watch what will happen.
@janpio My apologies. Should I continue this thread there then?
@JerryMissTom Adding console.log(ev.target.value);
to the function getItems(ev)
in search.ts
causes whatever is typed in the search bar to appear in the console.
Nah, now that @JerryMissTom is also helping you here...
Next step would be to find out why getItems
doesn't return the expected values - or if it does, why those aren't display.
Printing out this.currentItems
at the bottom of the getItems
function does include the results.
@daniel-centore could you please provide this demo in your Github, and give the link below, so we can clone and test it.
@JerryMissTom It's just the default project with ionic start projectname super
. I haven't made any changes other than adding the logging.
I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior: When using in Firefox Quantum 57.0.3, typing in the demo's search bar does not cause any results to show up.
Expected behavior: I expect results to show up, as they do in Chrome.
Steps to reproduce:
Other information: Results do show up in Firefox if I "Inspect Element" anywhere on the page, after having typed my query.
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):