Objects type for theme setting

Narrator: “It was not landed that week.” :upside_down_face:

1 Like

Is there any change on this? I just re-wrote a component for someone using objects type and they are unhappy that they can’t reorder.

3 Likes

Hey @awesomerobot do you think this going to get onto someone’s list any time soon? It doesn’t seem like anyone from team has looked at this in a year.

Also, it’s pretty terrible that they are all named “field_name-X”. Would it be possible to have a field name that could get used there? Having to click every single one to see what’s there is a nightmare if you have more than a couple objects.

If we can’t re-order the items and you can’t tell what they are without clicking on them, I’m likely going to have to go back to using a single string setting with multiple values separated with, uh, some character to separate the different fields. And I think with the old-style arrays you could re-order stuff, right? So this objects type seems like a step backward for everyone except programmers.

1 Like

I don’t think there’s anything in process for reordering at the moment, though it’s still something we’d like to include. Renaming is already possible with the identifier property. For example, from the custom header links theme component

The name field is set as the identifier for each link, so you can see which link is which

1 Like

Hooray. I thought I must have overlooked that but have not managed to find it before. Thanks!

EDIT: And now I used the identifier property and added an ‘order’ field, so it’s not too bad. I still think being able to reorder settings would be nice, and it’s available with arrays. . .

Thanks again for your help