Bug #81859
closedNew button 'toggle link explanation' doesn't work after adding a new media item
0%
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.
Updated by Guido S. over 6 years ago
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="">
Updated by Georg Ringer over 4 years ago
- Status changed from New to Needs Feedback
can someone reproduce that on 9.5? thanks
Updated by Riccardo De Contardi over 4 years ago
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
Updated by Georg Ringer over 4 years ago
- Status changed from Needs Feedback to Closed
closing it as Riccardo describes how it should work and we don't fix that in 8 anymore