I'm working on a custom compound field that includes a text value and an entity reference id. The field will contain multiple values, so the widget needs to provide "add new value" functionality, and a way to remove values already added (i.e. a "remove" button).
Following the (older) thread here: https://drupal.org/node/1143880, it seems that "add new value" is provided automatically, but not "remove" existing values? Is that still the case?
The thread above also links to a sandbox project here: https://drupal.org/sandbox/daggerhart/1363702. I tried this code, and it does seem to work, although the formatting is a little different.
What's the current best practice for adding a "remove" button to an unlimited value field widget?
Edit: here is a link to a feature request for this functionality in D8: https://drupal.org/node/1038316