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

durika.d23488
durika.d23488

Hi, i want to prefill dateTime input based on other dateTime input, my 'fields.yaml'

fields:
    from:
        label: 'bm.hr::lang.hr.openingHours.from'
        oc.commentPosition: ''
        mode: datetime
        span: auto
        placeholder: ''
        type: datepicker
    to:
        label: 'bm.hr::lang.hr.openingHours.to'
        oc.commentPosition: ''
        mode: datetime
        span: auto
        dependsOn:
            - from
        defaultFrom: from
        type: datepicker

prefilling works only when date id selected, BUT dont work when i change the Time input http://www.giphy.com/gifs/l1KcPBG6jg9S6AaNW

any idea how to fix it? thx (btw: is there a DateTime input 2-in-1? i dont want to have one input for date and one for time...)

1-1 of 1

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