We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am implementing autocomplete for input text box. my html is--->
<mz-input-container class="input-field col s12"> <i class="icon-vkv-icons-set-28 prefix"></i> <input mz-input mz-validation [formControl]='pinCodeCtrl' id="pinCode" type="text" [errorMessageResource]="errorMessageResources.pinCode" [autocomplete]="pincodes" [label]="'Enter your pincode'" /> </mz-input-container>
Here if i bind pincode statically then auto complete works.
but if i try to fill pin code dynamically using web service then it dont work even if static and dynamic pincode collection are same .
My controller is -- > ngOnInit() { this.pincodeDataService.getPincodeList(pincodeInitials) .subscribe((data) => { this.pincodes1 = data; this.pincodes1.forEach(s => { if (this.pincodes["data"] == undefined) this.pincodes["data"] = {}; this.pincodes["data"][s.pin_code] = s.pin_code_id; }) }
is there any demo or way which will show dynamic autocomplete.
The text was updated successfully, but these errors were encountered:
up I'm the same issue
Sorry, something went wrong.
You have to manually fire the autocomplet method of ngx using view child
@prasadsawant12 have you an example ?
No branches or pull requests
I am implementing autocomplete for input text box.
my html is--->
Here if i bind pincode statically then auto complete works.
but if i try to fill pin code dynamically using web service then it dont work even if static and dynamic pincode collection are same .
My controller is -- >
ngOnInit() {
this.pincodeDataService.getPincodeList(pincodeInitials)
.subscribe((data) => {
this.pincodes1 = data;
this.pincodes1.forEach(s => {
if (this.pincodes["data"] == undefined)
this.pincodes["data"] = {};
this.pincodes["data"][s.pin_code] = s.pin_code_id;
})
}
is there any demo or way which will show dynamic autocomplete.
The text was updated successfully, but these errors were encountered: