z-song / laravel-admin

Build a full-featured administrative interface in ten minutes
https://laravel-admin.org
MIT License
11.15k stars 2.82k forks source link

csv output has html tags #5838

Open kazu228 opened 1 year ago

kazu228 commented 1 year ago

Description:

There is a span tag in the role of the dashboard csv output.

Steps To Reproduce:

xxl4 commented 12 months ago

Frist, Maybe you can use

`

$export->originalValue([])

`

use the originl value for export.

Second: if you have html value save in db, you can use excel for export better.

kazu228 commented 11 months ago

Thanks your answer !

I have some questions .

where is $export->originalValue([]); code ?

what should I do ?

xxl4 commented 11 months ago

image

image

add your controller page and grid export

kazu228 commented 11 months ago

Thanks a lot. It is difficult for me. but I challenge.