Same selector for more than one input doesn't work

Created on 6 September 2022, almost 2 years ago
Updated 3 July 2023, 12 months ago

Problem/Motivation

When I target a selector, that just happens to have more than one instance on the page, it doesn't seem to work on the second instance.

Steps to reproduce

Create a selector that targets more than one dom instance.

πŸ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

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.

  • πŸ‡«πŸ‡·France Dom.

    I am sorry, this works as designed here, therefore I am closing unless proved that it should work differently.

    The main issue is that the dropdown menu has to be append below the field it completes, hence if there is two of them that is undeterminist. Unfortunately, you should duplicate the config (use the same callback though) and target each field more specifically.

Production build 0.69.0 2024