0

How do I request a reload for a TYPO3 extension field that is the trigger for a display condition of an other field in the mask.json.

    "tx_mask_foobarfield": {
        "config": {
            "type": "select",
            "renderType": "selectSingle",
            "size": "",
            "default": "foo",
            "onChange" : "reload",
            "items": [
                [
                    "Foo",
                    "foo"
                ],
                [
                    "Bar",
                    "bar"
                ]
            ],
            "foreign_table": "",
            "foreign_table_where": "",
            "fileFolder": "",
            "fileFolder_extList": "",
            "fileFolder_recursions": "",
            "maxitems": "",
            "autoSizeMax": ""
        },
        "exclude": "0",
        "key": "some_key"
    },

I tried a couple of things but all references I could find tell me just about the way to do it in TCA.

David
  • 5,882
  • 3
  • 33
  • 44

1 Answers1

2

I think you have the "onChange": "reload" on the wrong level.
From documentation it should be a direct successor of the fieldname (sibling to config)

Bernd Wilke πφ
  • 10,390
  • 1
  • 19
  • 38