Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-1049

Update "Date field" ref. page :: defaultValue=now

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Neutral
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Since MGNLUI-4086 the property defaultValue can have the value now.

            fields:
              - name: travelDate
                class: info.magnolia.ui.form.field.definition.DateFieldDefinition
                label: Travel date
                defaultValue: now
      

      Add the property defaultValue which comes from a super class to the properties table too.
      And explain what happens if the value is now ... and explain how to use it.

        Checklists

        Acceptance criteria

          Attachments

            Activity

              People

              Assignee:
              jlegendre Julie Legendre
              Reporter:
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Checklists

                  Task DoR