html 添加默认值 input text

海贝数码网   2022年6月14日 浏览量:512


                                @Html.LabelFor(model => model.answer_id, "正确答案", htmlAttributes: new { @class = "control-label col-md-2" })
                               


                                    @Html.EditorFor(model => model.xxx,new { htmlAttributes = new { @class = "form-control", @placeholder = "请输入正确答案", @Value = "1" } })
                                    @Html.ValidationMessageFor(model => model.xxxx, "", new { @class = "text-danger" })
                               


                           



html 添加默认值 input text

更新日期:2022年6月14日
关键字:html 添加默认值 input text
免责声明:文章或资料来源于网络,如有关于本文内容、版权或其它问题请于文章发表后的30日内与本网管理员联系删除或修改。

01/1|<<1>>|