【发布时间】:2020-03-03 17:24:18
【问题描述】:
<div class="form-group">
<label for="bit_app_policy_category_status">Please Insert the Code<span class="required">*</span></label>
<input type="text" name="code" class="form-control" value="{{$category->code}}" placeholder="Enter the Code" />
</div>
我只想让该字段无法更改,但只能查看。
【问题讨论】:
-
使用 ether 的 diabled 或 readonly 属性
-
感谢我刚刚在后面添加了只读及其工作