contact_info module

class DataEditorContactInfo(applies_to_tables=None, applies_to_forms=None)

Bases: DataEditorHelperButton

This module provides supporting tables for the DataEditor.

It adds a button that opens a modal with contact info for the delivered Altinn 3 survey.

Parameters:
  • applies_to_tables (list[str] | None)

  • applies_to_forms (list[str] | None)

create_info_card(title, component_id, var_type, style=None)

Creates a standard readonly information card component.

Parameters:
  • title (str) – Label of the card.

  • component_id (str) – ID of the input element.

  • var_type (str | int) – Type of the input element (e.g. “text”).

  • style (dict | None) – Optional CSS dictionary properties.

Returns:

A Dash Div element.

modal_body: Div
module_callbacks()

Registers callbacks to dynamically populate contact cards and indicator icons.