Alt and Title do not appear in the list for the form widget

Created on 31 October 2023, 8 months ago
Updated 4 November 2023, 8 months ago

Problem/Motivation

When going to the configure the widget, there is no Alt or Title field to choose from.

Steps to reproduce on Drupal 9.5.3

1) Install module
2) Enable alt & text field on the image field on a media entity.
3) On the manage form display tab for the media entity, select the ocr image widget.

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom gMaximus

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @gMaximus
  • Status changed to Closed: works as designed 8 months ago
  • πŸ‡«πŸ‡·France lazzyvn paris

    It autofills if your image field has alt and title enabled by first line OCR in image

  • πŸ‡¬πŸ‡§United Kingdom gMaximus

    I see. I think the widget settings form needs tweaking. That dropdown should be labelled "additional text field" and it should be made optional. I found that confusing.

    I can't believe how good this is btw.

Production build 0.69.0 2024