Matthias Althaus
Matthias Althaus
Hmm... here we go again: ~~~ Twig\Error\RuntimeError: Neither the property "message" nor one of the methods "message()", "getmessage()"/"ismessage()"/"hasmessage()" or "__call()" exist and have public access in class "App\Core\Twig\Component\Alert". at templates/components/Alert.html.twig:6...
Oh I'm running on the latest releases: ~~~ symfony/ux-live-component v2.16.0 Live components for Symfony symfony/ux-twig-component v2.16.0 Twig components for Symfony ~~~
Oh... this is interesting... using the component function is working fine: ~~~twig {{ component('Alert', { type: 'danger', message: 'Danger Will Robinson!' }) }} ~~~ So it's breaking using the HTML...
Just coming back to read that I'm plan stupid. ✅ Will check double-twice next time.
Yes, I'll see if I can encountered the original issue again... pretty sure that I didn't had a typo there, but I'll double-check from now on if I see that...
Would be really nice, if the plugin could somehow register `twig` as an XML namespace. Don't know if this is possible at all, but getting rid of the errors without...
> By any chance, are you in a non-English locale Yes, German is our default.
They are all classed based.
Hmm... I have to check this. I could be that I missed to test the simplest solution. :/
> Not sure if you want to pass "false" as a string, or if something does not work with booleans for you And yes... that was my first intention.