Adonis 4 still not allows to call csrfField() in view

I am developing a sample app in Adonis and using edge templating. As per the documentation, I did the same process but nothing works.

is there any way to use this?

Make sure you called like below

{{ csrfField() }}

If it is not helping, share the code

1 Like