TwigBridge
TwigBridge copied to clipboard
input_old not working.
I am trying to populate form field if it was filled before using input_old('name') but it is not working. I am using laravel 4.2 and twig 0.6 versions. Can you please suggest me if i am doing any thing wrong here?
Does that facade work? (Input.old()
) And does input_get()
work?
Nope, neither of the facade work. :(. I tired all facade related to input_old. I am not geeting the old value in from fileds. What may be the issue??
Any one here can please suggest me what can i do ??
Did you add the Input facade to your configuration? extensions.php
'facades' => [
'Input' => [ 'is_safe' => [ 'get', 'old' ] ],
],