[5.x]: Field of type "Entries" fails when opened in a modal
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
There is a bug when opening a field of type "Entries" in a modal. Many console error logs are triggered and it's not possible to select the entry.
It works fine if I open the modal in a new tab.
See the example:
Craft CMS version
5.3.3
PHP version
8.3
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
Contributor guide
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 issue in Craft CMS 5.3.3 with PHP 8.3 by opening an Entries field in a modal and attempting to select an entry. Compare the modal with opening it in a new tab, and inspect the console errors. Done means entries can be selected in the modal without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100