I have a custom block type in Drupal 8 where I reference an unlimited amount of content nodes. Now that I want to delete a reference, there’s no delete button available or label that mentions any kind of operation at all.

picture of content reference

If you look at the "image reference field" there’s an operation to delete one image reference after another:

picture of field reference

Where can I find this delete option for content references? Simply leaving the field blank and pressing save will raise a validation error.

1 Answer 1


To delete a value from your "Content Reference" field, simply leave the textfield of the desired row-to-delete blank (the multi-field widget for autocomplete fields doesn't have a delete button, it infers which rows should be maintained/deleted based on the presence of a value).

You've marked that field as required (notice the red asterisk at the top), so it must contain at least one value for the form to pass validation. If that's undesirable, just visit the manage fields page, edit the field, and remove the required constraint.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.