Created
August 6, 2019 03:34
-
-
Save leenasn/10e550f5d563624a2f851aa757549244 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div data-controller="auto-complete" data-auto-complete-url="/customers/search/"> | |
<input type="text" name="search" id="search" | |
placeholder="Customer search [Name or Phone number]" list="members" | |
autocomplete="off" data-action="input->auto-complete#search" | |
data-target="auto-complete.source"> | |
<datalist id="members" data-target="auto-complete.members"> | |
</datalist> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment