8
验证无法正常工作。它始终显示此字段是必需的。即使我不碰这个领域。为什么?验证在Metronic UI中不起作用。为什么?
<div class="form-group">
<label class="control-label col-sm-4">Description<span class="required"> * </span></label>
<div class="col-sm-8">
<input type="text" name="name" data-required="1" class="form-control" aria-required="true" aria-invalid="true" aria-describedby="name-error">
<span id="name-error" class="help-block help-block-error">This field is required.</span>
</div>
</div>
嗨,Metronic包含在Aspnet Zero中。你使用的是Aspnet Zero吗? –
@AlperEbicoglu是使用aspnet零 –
为什么不走角度的方式和使用形式为valdiation –