It should return the selected option from the datalist (linked via the list attribute).
I've open a bug against the specifications to remove that attribute: there is no obvious use cases.
This feature has been removed from the HTML specifications.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
I removed it from the MDN (HTMLInputElement) as it never was implemented.
You need to log in before you can comment on or make changes to this bug.