E
E
Eugene2020-12-24 11:32:51
Laravel
Eugene, 2020-12-24 11:32:51

Some methods in Blade don't work, what am I doing wrong?

I study the stall (8th version).
The doc says that you can use methods in templates, but I've already encountered the fact that old('name') does not display past values ​​and $request->is('name') does not return anything either ... they need to be passed as arguments or what am I doing wrong? I didn't find an answer in the doc... the route('name') and url('name') methods already work...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-12-24
@Kasperenysh

{{ old('name') }}returns a validator. Request for sure, I haven't used others.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question