TwigBridge icon indicating copy to clipboard operation
TwigBridge copied to clipboard

input_old not working.

Open DrudgeRajen opened this issue 10 years ago • 4 comments

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?

DrudgeRajen avatar Dec 13 '14 03:12 DrudgeRajen

Does that facade work? (Input.old()) And does input_get() work?

barryvdh avatar Dec 13 '14 19:12 barryvdh

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??

DrudgeRajen avatar Dec 13 '14 19:12 DrudgeRajen

Any one here can please suggest me what can i do ??

DrudgeRajen avatar Dec 14 '14 18:12 DrudgeRajen

Did you add the Input facade to your configuration? extensions.php

'facades'   => [
            'Input'   => [ 'is_safe' => [ 'get', 'old' ] ],
        ],

mikevrind avatar Dec 22 '14 10:12 mikevrind