We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c86da0d commit 5518965Copy full SHA for 5518965
1 file changed
README.md
@@ -35,8 +35,8 @@ The `date_time_picker` input accepts many of the options available to the standa
35
36
```ruby
37
form do |f|
38
- f.input :starts_at, as: :datepicker, datepicker_options: { min_date: "2013-10-8", max_date: "+3D" }
39
- f.input :ends_at, as: :datepicker, datepicker_options: { min_date: 3.days.ago.to_date, max_date: "+1W +5D" }
+ f.input :starts_at, as: :date_time_picker, datepicker_options: { min_date: "2013-10-8", max_date: "+3D" }
+ f.input :ends_at, as: :date_time_picker, datepicker_options: { min_date: 3.days.ago.to_date, max_date: "+1W +5D" }
40
end
41
```
42
0 commit comments