简体   繁体   English

我在php laravel中遇到复选框问题

[英]i am facing an issue with checkbox in php laravel

I am using laravel 5.4 when i use input type as checkbox it works in Firefox but it is not working in chrome. 当我使用输入类型作为复选框时,我正在使用laravel 5.4,它在Firefox中有效,但在chrome中不起作用。 The problem comes with when i use it in a table it is not showing up. 当我在表中使用它时,问题就没有出现。 but outside of table it is showing. 但它在桌子外面显示。

<td><input type="checkbox" ></td> if use it in a table it is not showing rest it is working fine. <td><input type="checkbox" ></td>如果在表中使用它,则不会显示其余内容,说明可以正常工作。 Can anyone help me in solving this issue. 谁能帮助我解决这个问题。

Please try this : 请尝试这个:

Eg 例如

 {{ Form::checkbox('agree', 'yes') }}

Reference : http://laravel-recipes.com/recipes/167/creating-a-checkbox-input-field 参考: http : //laravel-recipes.com/recipes/167/creating-a-checkbox-input-field

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM