Bug #59713
closedTSCONFIG Flexform modifications on Models (non tt_content)
0%
Description
It seems theres a bug with the TSCONFIG flexform features to change configuration (like disabling a field).
On tt_content flexforms you can do:
TCEFORM.tt_content.pi_flexform.my_plugin.sDEF.myfield.disabled = 1
But if you have not a plugin just a data entry (like a extbase model) with flexforms included this doesn't work:
TCEFORM.tx_myext_domain_model_table.pi_flexform.sDEF.associatedCompany.disabled = 1
(in this case "pi_flexform" is the TCA configured field that includes the flexform functionality)
but if you do the following (with the UID of the entry) it works...
TCEFORM.tx_myext_domain_model_table.123.pi_flexform.sDEF.associatedCompany.disabled = 1
Sooo... the problem is that it works for single entries but not "globally" for all entries of a table.
Updated by Mathias Schreiber over 9 years ago
- Category set to FormEngine aka TCEforms
- Target version changed from next-patchlevel to 7.4 (Backend)
Updated by Susanne Moog about 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack almost 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Mathias Schreiber almost 9 years ago
- Status changed from New to Resolved
Fixed on master.
Please keep in mind that you need to add the field contraint to the TSConfig.
Example from EXT:styleguideTCEFORM.tx_styleguide_forms.flex_1.default.sDEF.input_1.disabled = 1
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed