I am developing some HTML for a program which uses Chromium Embedded Framework (CEF), specifically CefSharp.
The exact functionality I want is already perfectly handled with use of datalist
elements: an input where the user can freetype and enter any value, but as they type suggestions from a list of expected values can easily be selected to autofill.
However, it appears that datalist
is not supported.
I am wondering if it would be possible to emulate the behavior of a datalist
linked input
using JavaScript? The select
tag isn’t appropriate for this case because free-typing new values will be just as common as selecting a pre-existing value.