<%= text_field_tag :appointment_date ,
(Date.today + 3).strftime("%d/%m/%Y") ,
:data=>{:provide=>:datepicker,
"date-start-date"=> "+3d",
"date-end-date"=> "+14d",
"date-format":"dd/mm/yyyy", "date-dates-disabled": "['10/10/2017']"}, class: 'form-control',
onkeydown: 'return false' %>
我有一个rails text_field_tag,它附带了bootstrap datepicker。除date-dates-disabled
外,所有属性都正常工作。知道我在这里做错了吗?