Closed (works as designed)
Project:
Multiple Fields Remove Button
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2014 at 14:20 UTC
Updated:
4 Sep 2014 at 12:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
creeksideplayers commentedChanging this to a bug. I looked at the module code, and it looks like link should be supported
Comment #2
sprocketman commentedI'm curious why this module tries to specify individual field widget types rather than just specifying any field that is multi-value. In particular, in multiple_fields_remove_button_field_widget_form_alter() it seems like you could simply remove the $fieldwidgets array and change the following if clause to
This is exactly what the field module does for adding new items. Is there any reason why the same couldn't apply to the remove buttons. It seems like that would solve most of the issues in this module's queue.
Comment #3
creeksideplayers commentedI tried #2, and the remove button still isn't showing up. I added a "print 'I got here!';" inside the braces of the if statement, and that message showed up, but no remove button. I don't know if this has anything to do with it, but the link field has a title and a URL and is inside a fieldset.
Comment #4
asghar commentedActually problem is with link module and does not allow to alter attributes and add new attributes in form links field.
Comment #5
jenlampton@asghar is correct, this is a problem with Link module. Apply this patch to get everything working again: https://www.drupal.org/node/1980736#comment-7348806
Comment #6
creeksideplayers commentedI updated to the latest dev version of the link module, and now the remove button is showing up. Thanks jenlampton