Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rihab 104 posts 388 karma points
    Sep 12, 2019 @ 07:30
    Rihab
    0

    TimePicker Property Editor

    Hi,

    I need A TimePicker Property Editor For Umbraco V8, Is There Any Tutorial or package to provide A Time Picker?

    Thanks In Advance.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Sep 12, 2019 @ 09:05
    Lee Kelleher
    1

    Hi ٌ, (interesting char for your name)

    I don't know of any specific Time picker editor for Umbraco v8 (or even v7).

    A while back I thought I had a need for a Time picker, but it turned out that I really needed a Duration picker (where I could enter hours/minutes/seconds) - which I ended up using a Number field to enter the total seconds. I digress.

    A quick google search found this tweet (from 2015):
    https://twitter.com/j_breuer/status/656111856059179010

    I'm not sure if Bjarne ever shared the code for this time/clock picker screenshot?

    Cheers,
    - Lee

  • Nik 1593 posts 7151 karma points MVP 6x c-trib
    Sep 12, 2019 @ 09:16
    Nik
    1

    There isn't one directly available.. however with a small amount of code it is possible to create your own. The Date Picker in Umbraco has the ability to be a time only picker but there is no GUI for setting that up so you need to create your own.

    Essentially you will be copying the core DatePicker and tweaking some settings. I don't have the code to hand unfortunately but I'll see if I can dig it out later.

    Nik

  • Heather Floyd 604 posts 1002 karma points MVP 5x c-trib
    May 28, 2021 @ 14:31
    Heather Floyd
    0

    For anyone interested in a Duration property editor... check out this discussion on the Contentment package: https://github.com/leekelleher/umbraco-contentment/discussions/114

Please Sign in or register to post replies

Write your reply to:

Draft