Issue Feature Closed

#95460Add "eval" to allowOverrideMatrix

Robert von Hackwitz 10/04/21, 10:11 updated 12/11/24, 16:15

Description

Currently it is possible to change the configuration of a field through TSConfig only for these values ​​contained in the allowOverrideMatrix of FormEngine.

    protected static $allowOverrideMatrix = [
        'input' => ['size', 'max', 'readOnly'],
        'text' => ['cols', 'rows', 'wrap', 'max', 'readOnly'],
        'check' => ['cols', 'readOnly'],
        'select' => ['size', 'autoSizeMax', 'maxitems', 'minitems', 'readOnly', 'treeConfig'],
        'group' => ['size', 'autoSizeMax', 'max_size', 'maxitems', 'minitems', 'readOnly'],
        'inline' => ['appearance', 'behaviour', 'foreign_label', 'foreign_selector', 'foreign_unique', 'maxitems', 'minitems', 'size', 'autoSizeMax', 'symmetric_label', 'readOnly'],
        'imageManipulation' => ['ratios', 'cropVariants']
    ];

I think it would be useful if it were also possible to change the “eval” value through TSConfig

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.