accessible-autocomplete icon indicating copy to clipboard operation
accessible-autocomplete copied to clipboard

Provide a way to progressively enhance an input

Open edwardhorsford opened this issue 7 years ago • 2 comments

The autocomplete needs to be able to progressively enhance from an input as well as a select.

Where the options are known and reasonably few in number (countries), select is fine. For a large number of options or unknown options, we need an input. Non js would submit what the user enters - the server can then do their own checks, or search or whatever.

Related to #95. Also the opposite of #198

edwardhorsford avatar Aug 08 '17 12:08 edwardhorsford

Hi,

This is an issue we have faced too as we need an existing input element to be bound to the autocomplete functionality as the input element can serve more than one purpose.

https://github.com/alphagov/govuk-design-system-backlog/issues/4#issuecomment-457176135

trevorkapswarah avatar Jan 31 '19 11:01 trevorkapswarah

We're using it to enhance an input on the trade tariff's search: https://www.trade-tariff.service.gov.uk/sections?currency=EUR

matthewford avatar Oct 07 '20 11:10 matthewford