Implement js- prefix for autocomplete textfields to separate JavaScript behavior from styling

Created on 16 October 2019, about 5 years ago
Updated 11 July 2024, 6 months ago

Problem/Motivation

autocomplete.es6.js acts on all textfields with the "form-autocomplete" class. However, the LinkIt module has its own version of autocomplete results but cannot reuse the styling for the autocomplete textfield.

Proposed resolution

Implement js- prefix for autocomplete to separate JavaScript behavior from styling as outlined in #2431671: [meta] Add in js- prefixed classes for separation of JS & CSS functionality

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

Autocomplete textfields now implement a js-form-autocomplete class for to separate JavaScript behavior from styling.

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Javascript 

Last updated about 5 hours ago

Created by

🇳🇱Netherlands idebr

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

Merge Requests

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