heimrichhannot / contao-field_value_copier
This simple module offers an input type for showing a giving the user the opportunity to copy a certain field value from another record. This is useful for fields that are very complex to configure.
Installs: 818
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Type:contao-module
Requires
- php: ~5.4 || ~7.0
- contao-community-alliance/composer-plugin: ~2.4 || ~3.0
- contao/core-bundle: ^3.5.1 || ~4.1
This package is not auto-updated.
Last update: 2024-09-28 20:20:07 UTC
README
This simple module offers an input type for showing a giving the user the opportunity to copy a certain field value from another record. This is useful for fields that are very complex to configure.
Features
Technical instructions
Use the inputType "fieldValueCopier" for your field.
'someField' => array(
// no label necessary
'inputType' => 'fieldValueCopier',
'eval' => array(
'fieldValueCopier' => array(
'table' => 'tl_my_dca',
'field' => 'myField',
'options_callback' => array('Namespace\SomeClass', 'getOptions')
)
)
)