This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Akhil
Akhil

Hi in October CMS backend fields.yaml .............

  type: datepicker 
  mode: time 

Type datepicker ....working for mode: date and datetime ........... but not working for mode:time .................. It is given in doc that we can use mode:time at http://octobercms.com/docs/backend/forms#widget-datepicker

                    mode the expected result, either date, datetime or time. Default: datetime. 

at the end of #Date picker and before #relation

                    Any solution for mode:time in type:datepicker ???????????

Last updated

Daniel81
Daniel81

Yeah, I've tried this, but just ended up using mode: datetime which gives you the date & time values/options. You could use some PHP to retrieve the time value on it's own I suppose?

Akhil
Akhil

So its....seems to be an issue with type: datepicker, mode: time. Maybe Moderator can help in sorting out this issue.

Flynsarmy
Flynsarmy

Leave an issue on the git repo and hopefully daft will fix it soon.

Akhil
webmaxx
webmaxx

I added pull request with TimePicker.

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.