textarea's “required” attribute doesn't work even though the value is empty

前端 未结 6 1565
不知归路
不知归路 2020-12-29 21:21

I created a simple page with list box and text area with conditions that all should be required.

List box are working fine, but textarea box doesn\'t tell that the f

6条回答
  •  悲哀的现实
    2020-12-29 21:54

    Check default value in the textarea. There must be blank spaces which are considered as value.

提交回复
热议问题