laravel-admin icon indicating copy to clipboard operation
laravel-admin copied to clipboard

csv output has html tags

Open kazu228 opened this issue 1 year ago • 4 comments

  • Laravel Version: #.#.#
  • PHP Version:
  • Laravel-admin: #.#.#

Description:

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

Steps To Reproduce:

kazu228 avatar Nov 27 '23 11:11 kazu228

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.

xxl4 avatar Dec 03 '23 10:12 xxl4

Thanks your answer !

I have some questions .

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

what should I do ?

kazu228 avatar Dec 04 '23 06:12 kazu228

image

image

add your controller page and grid export

xxl4 avatar Dec 08 '23 02:12 xxl4

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

kazu228 avatar Dec 08 '23 14:12 kazu228