Return the same content list after content type is changed

Created on 27 August 2021, almost 3 years ago
Updated 15 March 2024, 4 months ago

Problem/Motivation

In cases where autocomplete input has .form-item wrapper with additional class .form-autocomplete we have an issue with autocomplete content list. After the content type is changed we receive the same content list in autocomplete field.

Steps to reproduce

  • If you have next structure:

    <div class="form-item ... form-autocomplete">
        ...
        <input ... class="form-autocomplete ..." ...>
    </div>
  • You will have the same content list for different content types (See GIF that above in the Problem/Motivation section)

Proposed resolution

Search input.form-autocomplete instead of .form-autocomplete in the dynamic-entity-reference-widget.js

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇺🇦Ukraine Ressinel 🇺🇦 Rivne

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.69.0 2024