datatable loading buttons as string

datatable loading buttons as string

hanabishirinhanabishirin Posts: 1Questions: 1Answers: 0

Hi,

I am currently facing an issue where the buttons I built into the table is showing up as a string instead of HTML.

When I load the button in as variable, this shows up:

The button fields inserted are as below:

public function getActionButtonsAttribute()
{
return '

';
}

Thanks in Advance

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @hanabishirin ,

    We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.