Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to progressively enhance an input #213

Open
edwardhorsford opened this issue Aug 8, 2017 · 2 comments
Open

Provide a way to progressively enhance an input #213

edwardhorsford opened this issue Aug 8, 2017 · 2 comments
Labels
feature request User requests a new feature

Comments

@edwardhorsford
Copy link
Contributor

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

@trevorkapswarah
Copy link

trevorkapswarah commented Jan 31, 2019

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.

alphagov/govuk-design-system-backlog#4 (comment)

@matthewford
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request User requests a new feature
Projects
None yet
Development

No branches or pull requests

4 participants