Hide label for input field

前端 未结 7 874
孤街浪徒
孤街浪徒 2021-02-06 23:04

I am trying to hide the label for a specific field in _form.php without success.

I have tried couple of variation like, but none is working:



        
7条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 23:27

    Or you can modify template value for particular field and remove {label} part from it. I.e.:

    field($page, 'image', [ 'template' => '

    {input}
    {error}
    ' ])->fileInput() ?>

提交回复
热议问题