AdvancedCustomFields / AdvancedCustomFields/acf

Search on select2 fields not working

Open
#200 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hi 👋

I'm currently having a bug that is stopping me from creating a Clone field.
After I create the field, I'm unable to fill the "Fields" field, because no options are being given in the Select.
Also, when I try to use the search, there is an error in the console, stating:
TypeError: b.slice is not a function [Learn More] select2.full.min.js

I already tried to deactivate all plugins (except for ACF) but the problem persists.
Here is a video demonstrating the bug:
https://d.pr/v/fdbnHt

Any idea?
Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Clone field workflow and inspect select2.full.min.js when searching the Fields select. Confirm the cause of the b.slice console error; done means the select provides options and search completes without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.