Hi guys !
I’m not able to make autocorrect “ON” on a ion-searchbar, but I was able to do it on a ion-textarea input…
Here is my code:
<ion-searchbar
*ngIf="enviesOpened"
class="mesenvies-searchbar"
placeholder="Rechercher selon mes envies"
[(ngModel)]="searchtext"
[formControl]="searchControl"
(ionInput)="onSearchInput()"
autocorrect="on"
></ion-searchbar>
I tried with spellcheck true too but nothing seems to work here 
Any help on this please ?
Thanks !
Any tips anyone please ?
I’ll update this post if I finally find something that works elsewhere 
Ok I finally figured this out, with a bit of luck I have to say.
So if you get this issue too, you just need to add type=“text” on your searchbar, it worked in my case:
<ion-searchbar
*ngIf="enviesOpened"
class="mesenvies-searchbar"
placeholder="Rechercher selon mes envies"
[(ngModel)]="searchtext"
[formControl]="searchControl"
(ionInput)="onSearchInput()"
autocorrect="on"
type="text"
></ion-searchbar>
thank u sir,…
i need get the device current location and latitude and longitude…
using ionic 4 or 3
use this native geolocation to get current latitude and longitude of device.