How to avoid checking every time, if variable is set in blade template? Laravel 8

后端 未结 0 1633
谎友^
谎友^ 2021-02-18 20:29

I know about something like this:

{{ old(\'contents\', $page->contents ?? null) }}

But what about more complicated cases, like checkboxes and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题