2.x autocomplete text field

Created on 2 March 2021, almost 4 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

In 1.x the farm_fields_autocomplete (link) module provided autocomplete functionality for all text fields in farmOS (looking at the code it looks like this would alter *any* textfield that didn't already have an autocomplete path). This was used to recommend log and asset names, as well as any special text fields like lot_number or seller.

We need to replicate this functionality in 2.x. @m.stenta pointed out the Existing values autocomplete module which might provide what we need, but there are some considerations:

Seem like a solid module? D9 version is alpha?
Do we need contrib? Should we just roll our own like we did in 1.x? Not a terribly complicated requirement… worth adding a dependency?

Steps to reproduce

N/A

Proposed resolution

- Review Existing values autocomplete to see if it meets our needs
- Adopt existing values autocomplete & contribute/patch as needed OR roll our own

Remaining tasks

- Implement an option

User interface changes

- Autocomplete for (all?) textfields. (Only the text fields that choose to use the autocomplete field widget, it would be opt-in)

API changes

N/A

Data model changes

N/A

📌 Task
Status

Closed: won't fix

Version

2.0

Component

Miscellaneous

Created by

🇺🇸United States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024