Needs review
Project:
Field collection
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2012 at 09:21 UTC
Updated:
31 Jan 2020 at 15:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drikc commentedComment #2
drikc commentedClean the above patch; remove trailing white spaces.
Comment #3
tim.plunkettHow is this better than the 'delete' functionality that was added recently?
Comment #4
drikc commentedThe 'delete' functionality is only available when cardinality is set to unlimited.
An 'empty' button can empty embedded fields set as required of a host field-collection field set as unrequired (which cardinality is different than unlimited). In that context it mean that a user which fill those embedded required fields is steel able to empty the host field-collection which should be possible as it is set to unrequired.
Comment #5
torotil commentedI think this problem has been solved more generally with the "hide empty items" option in the field configuration.
Comment #6
joshahubbers commentedI reopen this issue. Problem is that when you do not have "unlimited" selected, the option "hide empty items" does not do anything.
Added a new patch because the existing patch did not work properly in my installation.