JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css">
<div>
    <label for='box1'>With Autocomplete:</label>
    <input type='text' id='box1' />
</div>

<div>
    <label for='box2'>No Autocomplete:</label>
    <input type='text' id='box2' />
</div>

JavaScript

$('#box1').autocomplete({
    source: [
        "ActionScript",
        "AppleScript",
        "Asp",
        "BASIC",
        "C",
        "C++",
        "Clojure",
        "COBOL"
    ]
});