Skip to content

[Feature Request]: Adding Custom Markup Inline (without view) #2214

Open
@danie-ramdhani

Description

@danie-ramdhani

Overview

based on docs. it's possible to inject custom markup.

public function customView(): string
{
    return 'includes.custom';
}

but i think it would be good to inject custom elements inside the table because the view is not reusable.

public function customView(): string|HtmlString
{
     <<<'BLADE'
     ....
     BLADE;
}

blade elements

public function customView(): string|HtmlString
{
     return Blade::render(<<<'BLADE'
     <div>
          <x-modal>
               ...
          </x-modal>
     </div>
     BLADE);
}

Detailed explanation

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions