Skip to content

Any way to call the v4 as a blade component?Β #51

@maxacarvalho

Description

@maxacarvalho

Hi there πŸ‘‹πŸ½

While using the v3 I was able to use the component like this πŸ‘‡πŸ½

<x-filament-simple-alert::simple-alert
    icon="{{ Icon::DOCUMENT_TEXT->value }}"
    icon-vertical-alignment="start"
    color="{{ Color::GRAY->value }}"
    title="{{ DocumentType::from($allowedUploadType)->label() }}"
    description="{{ $description }}"
    :actions="[
        $this->uploadDocument()(['type' => $allowedUploadType]),
    ]"
    :border="true"
/>

But, with v4 I get an error, Undefined variable $getColor. I couldn't find anything related in the docs, I wonder if that's possible?

Thank you very much πŸ™πŸ½

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions