Laravel-Backpack / community-forum

A workspace to discuss improvement and feature ideas, before they're actually implemented.
28 stars 0 forks source link

Ids instead of name. #700

Closed backpack-operations closed 9 months ago

backpack-operations commented 12 months ago

Hello team,

I just received this on email: "Hi,

I am using editable select, and while exporting I am getting ids instead of name, can you suggest any workaround to get relation name.

Thanks"

pxpm commented 12 months ago

I haven't tested it @backpack-operations , but from the gist of it, it seems a bug in Editable-Columns.

@promatik can you have a look at this? Probably it would be easier for you to find and fix this (if it's a relatively simple fix), otherwise we may postpone this to be fixed by the new export operation.

promatik commented 9 months ago

I tried this with our demo, added a column with a relation to the categories, and it works as expected. It exports the relation name, not the ID.

image

image

Anyway, we will soon release a feature that will allow to create custom list views, and that way developers will be able to create multiple custom exports for the same CRUD. https://github.com/Laravel-Backpack/PRO/pull/218.

@backpack-operations I'll close this one for now, let me know (re-open the issue) if the user provides us more information 👌