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 recommendation for autocompletes #349

Open
janfaracik opened this issue Nov 24, 2024 · 1 comment
Open

Provide a recommendation for autocompletes #349

janfaracik opened this issue Nov 24, 2024 · 1 comment

Comments

@janfaracik
Copy link
Contributor

janfaracik commented Nov 24, 2024

There's currently competing components for autocompletes, it'd be good to offer one recommendation.

We currently have:

<f:entry title="U.S. State" field="state">
  <f:textbox />
</f:entry>
<f:entry title="U.S. State" field="state">
  <f:combobox />
</f:entry>

Current thinking is:

  1. Move combobox to select with a searchable parameter
  2. Searchable select needs to be able to be filtered on the server side
  3. Consider adding ability to have "name, display name" options for autocomplete so that whats displayed in autocomplete doesn't have to be the selected value.
  4. (nice to have) Customise-able item templates for searchable select and auto complete
@timja
Copy link
Member

timja commented Nov 24, 2024

Yeah they are all slightly different ideally could unify and improve the API a bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants