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

sehan
sehan

Hello Guys, I want to asking about this problem, so I have case that I must to get the current pivot value thats has been saved to the database, and fetching again in form widget.

BTW this is my Yaml Structure (the field Time is my case)

fields:
    places:
        type: repeater
        prompt: Add Place
        tab: Places
        form:
            fields:
                place_id:
                    label: Place
                    type: dropdown
                    span: auto
                type:
                    label: Type
                    type: dropdown
                    options: getDataType
                    span: auto
                time:
                    label: Time
                    type: datepicker
                    mode: time

when i try using pivot[time] like that , it's showing error. because timepicker (pivot) is inside the relation places using repeater for call, I just dont know yet how is it possible to shown that value again in form widget.

Last updated

1-1 of 1

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