How can I create an autocomplete input text in lightning component Please help either by suggest library or create one from scratch
I tried this: https://gist.github.com/peterknolle/ef17727d994332a8ef6b#file-autccomplete-cmp
but it said that ' $j is not defined'
and also tried the one in lightning design system but it does not work and even its style is bad ( see image): https://www.lightningdesignsystem.com/components/lookups/
<aura:requires baseUrl="/resource/" scripts="{jquery:'jquery/jquery.js',jqueryui:'jqueryui/jquery-ui.js'}" deps="{jqueryui:['jquery']}" styles="{jqueryui:'jqueryui/jquery-ui.css'}" requiresReady="c.init" />