ngx-typeahead | yet powerful typeahead component for Angular | Autocomplete library
kandi X-RAY | ngx-typeahead Summary
kandi X-RAY | ngx-typeahead Summary
A simple but yet powerful typeahead component for Angular (css framework agnostic)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ngx-typeahead
ngx-typeahead Key Features
ngx-typeahead Examples and Code Snippets
Community Discussions
Trending Discussions on ngx-typeahead
QUESTION
i have a requirement, where in initially that will be a input fields, based on selection of one dropdown, number code will be autogenerated to the other input field.The autogenerated code of input field should be editable, where in it must be a dropdown with search field, and the search field must contain either name or number search. I used ngx-typeahead plugin to make this work, but i am not satisfied with what i have done, i need a dropdown to be shown when clicked on that input field, and based on search it must show me the values based on search. Any idea of how can this be implemented?
DEMO: DEMO
HTML:
...ANSWER
Answered 2020-Apr-20 at 16:11You can achieve this by using ng2-completer package.Link is here https://www.npmjs.com/package/ng2-completer
Now following the step you have to follow
Step 1 In app.module.ts
import { Ng2CompleterModule } from "ng2-completer";
Step 2 hero.component.ts
import { CompleterService, CompleterData } from 'ng2-completer';
Step 3 In constructor of hero.component.ts
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ngx-typeahead
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page