Livewire component has 'undefined variable' after updating Livewire?
I've setup a FormField as Livewire component in the a testing app using Filament 3 and Livewire 3:
Component:
View:
Now where it says 'value is' it correctly echoed the value of my
$testVar
, but after updating via Composer it now throws an error Undefined variable $testVar
Is there any way to mitigate this?
Composer:
Solution:Jump to solution
GitHub
Custom form field throws ErrorException 'Undefined variable' on cus...
Package filament/forms Package Version v3.0.7 Laravel Version 10.17.1 Livewire Version dev-main 6e529b7 PHP Version PHP 8.2.0 Problem description Created a custom Form Field as described in the doc...
3 Replies
Putting this in
composer.json
seems to revert back to a working version:
I've created a Github issue for this: https://github.com/filamentphp/filament/issues/7509
GitHub
Custom form field throws ErrorException 'Undefined variable' on cus...
Package filament/forms Package Version v3.0.7 Laravel Version 10.17.1 Livewire Version dev-main 6e529b7 PHP Version PHP 8.2.0 Problem description Created a custom Form Field as described in the doc...
Solution
GitHub
Custom form field throws ErrorException 'Undefined variable' on cus...
Package filament/forms Package Version v3.0.7 Laravel Version 10.17.1 Livewire Version dev-main 6e529b7 PHP Version PHP 8.2.0 Problem description Created a custom Form Field as described in the doc...