-
-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
Firstly, love the plugin and all the work that has gone into it.
I am just starting to use the new Symfony UX Twig components using the HTML syntax, and for the most part, the plugin is working great. The one issue I have run into is that the properties for the component are not populating for the autocomplete when I use one of the components.
The autocomplete for the list of components works
But for the properties, I only see
The component itself is quite simple
#[AsTwigComponent(name: 'Alert', template: 'components/Alert.html.twig')]
class AlertComponent
{
public AlertType $type = AlertType::Info;
public string $message = '';
}I've tried using the #[ExposeInTemplate] attribute as well, but it did not show in the auto-complete.
Metadata
Metadata
Assignees
Labels
No labels