Closed AmitMY closed 6 years ago
Usage
<ion-input auto-complete [source]="addressSource" [list-formatter]="locationToString"
(valueChanged)="setLocation($event)"
[placeholder]="'pages.location.placeholder' | translate"></ion-input>
Since it is working fine in native, I can't see why you think it is a "bug", it should be something from your side to wrap this native input with your own code to handle ionic, I think this is out of this project scope.
Current behavior
ionic
, onion-input
, which is already a form control, the$event
value is taken from that control, so it just gives a string as the event on change.Expected/desired behavior
(itemSelected)
that is strictly a part of this directive, so I will most certainly know that the object coming in the event is yours.Other information