Copied to clipboard

Flag this post as spam?

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


  • JoskerVemeulen 68 posts 262 karma points
    Dec 06, 2019 @ 15:10
    JoskerVemeulen
    0

    Nested Content Template

    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 296 karma points MVP 5x c-trib
    Dec 06, 2019 @ 15:44
    Erik-Jan Westendorp
    3

    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 459 posts 1820 karma points MVP 3x 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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies