Skip to main content
Version: 3.0.0-beta

Key/Value

Field

Key/Value is a special field that allows you to input arbitrary key/value pairs. You are able to use string as keys and any primitive type as value (including maps and arrays).

To enable this widget, simply set the dataType to map, and the keyValue property to true.

import { buildProperty } from "@firecms/cloud";

buildProperty({
dataType: "map",
name: "Key value",
keyValue: true
});

The data type is map.

Internally the component used is KeyValueFieldBinding.

Sign up to our newsletter to get the latest news and updates. No spam!