Currently if you choose a fixed value there is no remove button like there is if you 'add another' with unlimited values.

no remove button

It was mentioned in https://www.drupal.org/node/2471667#comment-11306959 that it was a problem with all field widgets, and not necessarily Multifield itself.

I think we could add support for Multifield though.

Here are a bunch of resources I have gathered in researching this.

https://www.drupal.org/project/multiple_fields_remove_button
https://www.drupal.org/project/cck_multiple_field_remove
https://www.drupal.org/node/1143880#comment-4685468 (quicktabs remove)
https://www.drupal.org/node/1143880 (custom fields with multiple values - remove button)
https://www.drupal.org/sandbox/daggerhart/1363702 (unlimited field remove)
http://www.cleancode.co.nz/blog/1131/multi-values-field-development-drupal (remove)

I don't know how to go about it yet but just wanted to kick off an issue. Feedback is wanted!

CommentFileSizeAuthor
#6 eck-IEF2.png23.27 KBptsimard
#6 ECK-IEF.png20.27 KBptsimard
#2 Selection_999(152).png33.56 KBelijah lynn

Comments

Elijah Lynn created an issue. See original summary.

elijah lynn’s picture

Issue summary: View changes
StatusFileSize
new33.56 KB
elijah lynn’s picture

Issue summary: View changes
elijah lynn’s picture

Oh, I should add that I am already half way through another customization in that screenshot. It is to remove the 'remove' button for the filefield upload. This is so we don't confuse the user with two remove buttons.

The normal way would be to remove the file and then reset the other dropdown field, both manually. I just want one button that does both.

elijah lynn’s picture

Title: Create a 'remove' button when not using 'unlimited' value for instance » Create a 'remove/reset' button when not using 'unlimited' value for field instance
ptsimard’s picture

StatusFileSize
new20.27 KB
new23.27 KB

HI,

I haven't looked at any code for this so I can't help just now but noticed the same issue.

Here is a screenshot quick implementation of ECK + Inline Entity Form. You notice that it has a counter "You have
added 1 out of 4 allowed Contact info."

And the count is reached, the "Add" button is removed:

I find this a really nice UI. Could multifield implement something similar?