widget.field

Element details

type: meya.widget.event.field
class: FieldEvent
path: /meya/widget/event/field/field.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
parent_entry_refnullEntryRef
trace_id"-"str
sensitivefalsebool
internalfalsebool
user_idstr
thread_idstr
integration_idstr
context{}
dict
composerfocus:
placeholder:
collapse_placeholder:
visibility:
character_limit:
ComposerEventSpec
quick_replies[]list
headerbuttons:
title:
progress:
milestones:
extra_buttons:
HeaderEventSpec
markdown[]list
field_idnullstr
submit_button_idnullstr
requiredfalsebool
labelnullstr
disabledfalsebool
oknullbool
errornullstr
input_datanulltyping.Any

Usage reference

Data

{
    "type": "meya.widget.event.field", 
    "data": {
        "parent_entry_ref": {
            "ledger": "STRING", 
            "id": "STRING", 
            "data": {
                "STRING": "STRING"
            }
        }, 
        "trace_id": "STRING", 
        "sensitive": false, 
        "internal": false, 
        "user_id": "STRING", 
        "thread_id": "STRING", 
        "integration_id": "STRING", 
        "context": {
            "STRING": "ANY"
        }, 
        "composer": {
            "focus": "file|image|text|blur", 
            "placeholder": "STRING", 
            "collapse_placeholder": "STRING", 
            "visibility": "collapse|hide|show", 
            "character_limit": {
                "length": 123, 
                "error_text": "STRING"
            }
        }, 
        "quick_replies": [
            {
                "url": "STRING", 
                "javascript": "STRING", 
                "button_id": "STRING", 
                "context": {
                    "STRING": "ANY"
                }, 
                "default": false, 
                "disabled": false, 
                "divider": false, 
                "icon": {
                    "url": "STRING", 
                    "color": "STRING"
                }, 
                "menu": [
                    "BUTTONEVENTSPEC"
                ], 
                "text": "STRING"
            }
        ], 
        "header": {
            "buttons": [
                {
                    "url": "STRING", 
                    "javascript": "STRING", 
                    "button_id": "STRING", 
                    "context": {
                        "STRING": "ANY"
                    }, 
                    "default": false, 
                    "disabled": false, 
                    "divider": false, 
                    "icon": {
                        "url": "STRING", 
                        "color": "STRING"
                    }, 
                    "menu": [
                        "BUTTONEVENTSPEC"
                    ], 
                    "text": "STRING"
                }
            ], 
            "title": {
                "text": "STRING", 
                "icon": {
                    "url": "STRING", 
                    "color": "STRING"
                }
            }, 
            "progress": {
                "value": 123, 
                "show_percent": false
            }, 
            "milestones": [
                {
                    "text": "STRING", 
                    "current": false
                }
            ], 
            "extra_buttons": [
                {
                    "url": "STRING", 
                    "javascript": "STRING", 
                    "button_id": "STRING", 
                    "context": {
                        "STRING": "ANY"
                    }, 
                    "default": false, 
                    "disabled": false, 
                    "divider": false, 
                    "icon": {
                        "url": "STRING", 
                        "color": "STRING"
                    }, 
                    "menu": [
                        "BUTTONEVENTSPEC"
                    ], 
                    "text": "STRING"
                }
            ]
        }, 
        "markdown": [
            "format|linkify|breaks|typographer"
        ], 
        "field_id": "STRING", 
        "submit_button_id": "STRING", 
        "required": false, 
        "label": "STRING", 
        "disabled": false, 
        "ok": false, 
        "error": "STRING", 
        "input_data": "ANY"
    }
}