Issue Bug Closed

#81859New button 'toggle link explanation' doesn't work after adding a new media item

Andreas Steiger 07/13/17, 18:52 updated 03/09/20, 08:22

Description

The new button ‘toggle link explanation’ of Link field works fine with a lot of media files within a ‘text & media’ content element. But after adding an additional media item (without save and reload), the button ‘toggle link explanation’ doesn’t work anymore.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 4

  1. Guido S. commented 03/31/18, 00:31

    Can confirm this issue in current master. After setting a page the hidden input field don’t get the value at attribute data-title and value.

    <input class="form-control form-field-inputlink-explanation t3js-form-field-inputlink-explanation hidden" data-toggle="tooltip" data-title="" value="" readonly="">
  2. Georg Ringer commented and changed status New Needs Feedback 03/08/20, 00:07

    can someone reproduce that on 9.5? thanks

  3. Riccardo De Contardi commented 03/08/20, 00:18

    It seems it is like this by design on version 9.

    I mean, I performed the following actions on 9.5.14:

    1) Create a CE “Text and Media“
    2) Tab Media > add media file
    3) Add a new file
    4) Click on the button to set a new link (to a page)
    5) important: do not save the element yet

    Results:

    The “toggle link explanation” button is disabled (albeit it could be argued that it is not much evident at a first glance), so it is not possible to use it until you save the content element. After saving, it becomes enabled.

    On version 8, the issue seems still present

  4. Georg Ringer commented and changed status Needs Feedback Closed 03/09/20, 08:22

    closing it as Riccardo describes how it should work and we don’t fix that in 8 anymore