Copied to clipboard

Flag this post as spam?

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


  • JoskerVemeulen 67 posts 261 karma points
    Dec 06, 2019 @ 15:10
    JoskerVemeulen
    0

    Hi,

    When using nested content we would like to use the template for showing values.

    How do we configure the nested content template to show a date from a datepicker(without time) or a selected radiobutton value?

    This is what I got so far by using

    {{date}} / {{dateUntill}} - {{status.value}}

    The date includes time but it is a normal Date Picker. The value of the radio button doens't work at all.

    Thanks.

    enter image description here

  • Erik-Jan Westendorp 29 posts 287 karma points MVP c-trib
    Dec 06, 2019 @ 15:44
    Erik-Jan Westendorp
    0

    Hi JoskerVemeulen,

    You can configure it like this:

    {{date| momentDateTimeZone:"YYYY-MM-DD"}} / {{dateUntill| momentDateTimeZone:"YYYY-MM-DD"}} 
    

    The result will be like:

    enter image description here

  • Robert Foster 440 posts 1684 karma points MVP admin c-trib
    Jan 20, 2021 @ 21:13
    Robert Foster
    1

    This is not actually working - it works (sort of - the date format is incorrect - should be yyyy-MM-dd) when you edit a date, but when you refresh after saving it shows the date string as it's not parsed to a date properly on first render.

Please Sign in or register to post replies

Write your reply to:

Draft