Die BPC Version 4.1 wird nicht mehr gewartet.

Sollten Sie diese BPC Version nutzen, empfehlen wir Ihnen eine Migration auf eine aktuelle Version. Die Dokumentation zur neusten BPC Version finden Sie hier. Sollten Sie Fragen haben, wenden Sie sich bitte an unseren Support.

Date Field

This component represents a date field.

Configuration

For general configuration options, see General Component Configuration.

Specific Configuration

value (date-string/string)

Value of the field. See also Binding Form Component Attributes

Example

datefield.json
{
  "$schema": "https://forms.virtimo.net/4.1.x/schema.json",
  "metaData": {
    "id": 0,
    "version": 0
  },
  "configuration": {
  },
  "components": [
    {
      "type": "container",
      "label": "Datefield Component Example",
      "components": [
        {
          "type": "datefield",
          "label": "My Datefield",
          "value": "2021-01-01"
        },
        {
          "type": "datefield",
          "label": {
            "de": "Datumsfeld",
            "en": "Datefield"
          },
          "value": "/data/datefields/two"
        }
      ]
    }
  ],
  "state": {
    "data": {
      "datefields": {
        "two": "2024-01-01"
      }
    }
  }
}
Embedded preview

Keywords: