Autocomplete
OverviewOfficial Website
The Autocomplete widgets provides suggestions while you type into the field.The datasource is a simple JavaScript array, provided to the widget using the source-option.
CSS
<!-- autocomplete css -->
<link rel="stylesheet" href="{{url_for('static' ,filename='libs/@tarekraafat/autocomplete.js/dist/css/autoComplete.css')}}">
Javascript
<!-- autocomplete js -->
<script src="{{url_for('static' ,filename='libs/multi.js/dist/multi.min.js')}}"></script>
Initjs (Custom js)
<!-- init js -->
<script src="{{url_for('static' ,filename='js/pages/form-advanced.init.js')}}"></script>
Add Package
yarn add @tarekraafat/autocomplete.js --save
Remove Package
yarn remove @tarekraafat/autocomplete.js or you can remove package by removing specific package from package.json
Examples
Title | Javascript |
---|---|
Search Result of Fruit Names |
|
Search Result of Car Names |
|