Topic: Angular mdb-autocomplete x delete not working
IRoman pro asked 6 years ago
Hi,
I use mdb-autocomplete. It works.
But x delete does not work.
My code, html:
<mdb-autocomplete [label]="'Select city'" name="autocomplete" initialValue="selectedCityValue"
[(ngModel)]="selectedCity" [datasource]="dataServiceCity"
[minSearchLength]="0">
</mdb-autocomplete>
component.ts:
private selectedCityValue: String;
private selectedCity: String = 'Berlin';
private optionsSelectCities: Array<any>;
protected dataServiceCity: CompleterData;
ngOnInit() {
this.dataServiceCity = this.completerService.local(this.optionsSelectCities, 'city', 'city');
}
Add comment
Arkadiusz Idzikowski staff answered 6 years ago
Dear IRoman,
Please update your version to 6.2.5 and check if that problem still exist.
Regards,
Arek
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: desktop
- Browser: chrome
- OS: linux
- Provided sample code: No
- Provided link: No