- Issue created by @heavystonehead
- First commit to issue fork.
- πΊπ¦Ukraine Foxy-vikvik
Hello,
This behavior is intentional. The forced integration of the caption field into all image field widgets was removed in version 4, as it could interfere with other widget implementations. Now, the module only integrates with the core image widget.
Therefore, this should be a Feature Request.
kksandr β changed the visibility of the branch 3541318-improve-widget to hidden.
- Merge request !29Issue #3541318 by kksandr: Added allowed widgets option β (Merged) created by Unnamed author
-
kksandr β
committed 61a68713 on 4.0.x
Issue #3541318 by kksandr: Added allowed widgets option
-
kksandr β
committed 61a68713 on 4.0.x
@heavystonehead you can now configure which widgets show the caption field in your image field settings. Look for the "Caption field allowed widgets" option and select the widgets where you want captions enabled.
- π©πͺGermany heavystonehead
Unfortunately, that doesn't quite work. I can enable the "Caption field allowed widgets" option under "field," but the field doesn't appear. I'm currently using 4.0.0-rc2.
Thanks for the report. To investigate this on 4.0.0-rc2 we need the exact configuration so we can reproduce.
Please attach or paste:
core.entity_form_display.*
for the bundle where the field should appearfield.field.*
for the affected field(s)- Drupal core version
- Any errors in Recent log messages or the browser console
You can get the config with:
drush cget core.entity_form_display.<entity>.<bundle>.default drush cget field.field.<entity>.<bundle>.<field_name>
Clearing caches after changing the option also helps confirm whether it is a display issue or configuration.
- π©πͺGermany heavystonehead
- Clearing the cache didn't help
- Files are attached
- I didn't see anything in the log (related to the module).
- No errors in the browser console
- Field isn't displayed (admin)
- Drupal version 10.5.2 kksandr β changed the visibility of the branch 3541318-allowed-widgets-option to hidden.
- Merge request !30Issue #3541318 by kksandr: Fixed legacy hook β (Merged) created by Unnamed author
- π©πͺGermany heavystonehead
It works, after the patch the field is visible and usable. Thanks for fixing it :)
-
kksandr β
committed 7f26c105 on 4.0.x
Issue #3541318 by kksandr: Fixed legacy hook
-
kksandr β
committed 7f26c105 on 4.0.x
Automatically closed - issue fixed for 2 weeks with no activity.