Reputation: 19
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.
Upvotes: 0
Views: 452
Reputation: 10791
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
)
Upvotes: 2