betamos/Better-Autocomplete

[Feature request] Clear button (×) in the input field.

Closed this issue · 1 comments

This is a UX design request:

When typing stuff on a mobile phone or touchscreen devices,
it may become hard to select text in order to clear the text box
in some use cases. An explicit "clear" button comes in handy
when using such a device.

For an example of what I mean by the "clear" button, you can
have a look at:

http://documentcloud.github.com/visualsearch/

The search field has a "x" button to clear the field. This helps
with touch screen input.

Cheers!
Khargosh. =)

The native solution is to use HTML5 Search input field, and that would be preferred. Currently I don't think Better Autocomplete works on other than input type="text" fields, which it of course should... But I think the little "cross" should come from the browser's native support for it.