Skip to content

<x-icon> does not accept a variable as the icon name #1146

@erikaraujo

Description

@erikaraujo

Tempest version

dev-main

PHP version

8.4

Operating system

macOS

Description

Cannot use variable in the name attribute of the Icon component - nothing gets rendered.

May be related #1144

Steps to reproduce

Use the <x-icon with a variable in its name inside of a view:

<x-icon :name="$myIconName" />

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions