AdvancedCustomFields / AdvancedCustomFields/acf
Search on select2 fields not working
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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