文本框不要阅读 class

textboxfor don't read class

我的原码是:

<input type="text" class="form-control input-border-bottom" id="name" name="name" placeholder="Nombre" required >

我想在 asp.net 中进行转换,从模型调用它...但它不调用 类:

 @Html.TextBoxFor(model => model.Name, new { @class = "form-control, input-border-bottom", @id = "name", @name = "name", @placeholder = "Nombre" })
 @Html.ValidationMessageFor(model => model.Name, "", new { @class = "text-danger" }) 

尝试删除逗号

@class = "form-control, input-border-bottom"

@class = "form-control input-border-bottom"

只需删除 类

之间的逗号
 @class = "form-control input-border-bottom"

sample