-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Description
Version
- Carbon Fields: 3.6.9
- WordPress: 6.8.2
- PHP: 8.4
Expected Behavior
Inputting search keyword into association field triggers AJAX call and loads posts
Actual Behavior
Inputting search keyword does not load posts, rendering the field useless. It seems AJAX request is not being triggered.
Container definition
CF is installed as a composer package using Bedrock WP boilerplate:
"extra": {
"installer-paths": {
"web/app/vendor/{$vendor}/{$name}": ["htmlburger/carbon-fields"]
},
"wordpress-install-dir": "web/wp"
},Comments
It only happens when WP_ENV has been set to "development". It works with "production" and "staging".
I tried debuging and compare JavaScript event listeners against one of the older installations with CF3.3.2/WP5.9.3 which is working as expected. It seems 'keydown' event triggers code from CF3.3.2 core.min.js properly while it doesn't trigger with CF3.6.9. Seems like event listener is not set up properly.
Metadata
Metadata
Assignees
Labels
No labels