rcrowe/TwigBridge

twig extension form is not loaded with laravel-form-bridge

LuXIN opened this issue · 0 comments

LuXIN commented

I'm using laravel-form-bridge and twigbridge, after upgraded to the latest version of twigbridge, I've got a error like this:

Unknown "form_start" function.

The problem is in laravel-form-bridge, we have a twig instance from "\Twig_Environment::class" in service provider, but in the new version twigbridge, it create a second twig instance of Environment::class, so the twigs extensions is not merged from the two packages.