duankaolei2921 2017-08-04 07:43
浏览 150

从数据库中的记录禁用<input type =“date”>中的日期

I have a question, does anyone here knows how to disable the dates in the calendar of

<input type="date">

from the records in the database?

:broad:

insert date -> database -> reads date from database -> disable date in input type="date" calendar

  • 写回答

2条回答 默认 最新

  • dsunj08246 2017-08-04 07:49
    关注

    You should use readonly instead of disabled. Because disabled attribute does not support for date input type.

    评论

报告相同问题?