For now, in typo3 v:10.4, we can hide or show specific element, by using displaycond in TCA config
My question is:
- can we hide or show a specific(s) item(s) in specific element, by using displaycond or other param in TCA config.
This issue was automatically created from https://github.com/TYPO3/TYPO3.CMS/pull/299
Updated by Georg Ringer 6 months ago
- Status changed from New to Closed
closing it with same answer as on github
To answer your question: No, display conditions always handle only a full element, not single 'select' or 'group' items. If you need need to modify items, the FormDataProvider API may be your choice ... have a look at https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/FormEngine/DataCompiling/Index.html for more details on this topic.