How Can I Use Data Annotations Attribute Classes to Fail Empty Strings in Forms?

前端 未结 4 2152
伪装坚强ぢ
伪装坚强ぢ 2020-12-09 02:10

I was trying to require a text input field in a form, which implies that there needs to be something in the form. However, adding a [Required] tag to my model w

4条回答
提交回复
热议问题