Collection

The extra_fields_collection is a component that can be used to display a collection of extra fields. It takes a list of dictionaries with "key" and "value" as keys, and an optional limit parameter to specify how many fields must be displayed initially. The limit cannot be less than number of items in extras.

{%- call ui.util.call(show_example) -%} {%- raw %} {{ ui.extra_fields_collection(extras=[ {"key": "key1", "value": "value2"}, {"key": "key2", "value": "value2"}], limit=4) }} {%- endraw %} {%- endcall %}