Closed AbdulRafay closed 4 years ago
Not a bug. The relationship does not know that you want this field to be an image. You'll have to override the formfield view
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Version information
Description
I have created two tables, attachments and tabs. tabs hasMany attachments. I have an image field in attachments table which i want to display on tabs list view, but its showing the image path as string
Steps To Reproduce
Steps to reproduce the behavior:
tabs
fields id, descriptiontabs
tableattachments
table, provide a value for foreign key as well.tabs
bread, attachment file will be displayed as string instead of image, please refer to screenshot belowExpected behavior
attachment images should be displayed in
tabs
list viewScreenshots
If applicable, add screenshots to help explain your problem.
Additional context
If you want to have a look, test site is hosted at http://35.209.64.182/admin
username: admin@admin.com password: admin
if any additional information is required please let me know.
BR