The token tree not showing all available tokens for a multi-value field

Created on 5 March 2019, over 6 years ago
Updated 31 July 2025, 2 days ago

I have a multi-value image field (Food images) limited to "8" images on the user entity.

The token tree is showing only the 3 tokens for the 3 images as below:

Food images	                        Entity reference field.
Food images type with delta 0	[current-user:field_user_food_images:0:target_id]
Food images type with delta 1	[current-user:field_user_food_images:1:target_id]
Food images type with delta 2	[current-user:field_user_food_images:2:target_id]

But I was expecting to see something like below:

Food images	                        Entity reference field.
Food images type with delta 0	[current-user:field_user_food_images:0:target_id]
Food images type with delta 1	[current-user:field_user_food_images:1:target_id]
Food images type with delta 2	[current-user:field_user_food_images:2:target_id]
Food images type with delta 3	[current-user:field_user_food_images:3:target_id]
Food images type with delta 4	[current-user:field_user_food_images:4:target_id]
Food images type with delta 5	[current-user:field_user_food_images:5:target_id]
Food images type with delta 6	[current-user:field_user_food_images:6:target_id]
Food images type with delta 7	[current-user:field_user_food_images:7:target_id]

Because when I use the token [current-user:field_user_food_images:3:target_id], it return an error: Token not valid

any help about what is going on here ?

Thank you,

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇱🇧Lebanon C.E.A

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇰Denmark ressa Copenhagen

    The problem is that only a single value from a multivalue field is being output, like from a taxonomy term Tag field.

    How can you output all values?

Production build 0.71.5 2024