Skip to content

Commit

Permalink
task | add foreignKey declaration for form and module fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rorych committed Jan 31, 2024
1 parent f233aa6 commit 837cbb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contao/dca/tl_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@
'inputType' => 'select',
'options_callback' => array('tl_content', 'getForms'),
'eval' => array('mandatory'=>true, 'chosen'=>true, 'submitOnChange'=>true, 'tl_class'=>'w50 wizard'),
'foreignKey' => 'tl_form.title',
'wizard' => array
(
array('tl_content', 'editForm')
Expand All @@ -751,6 +752,7 @@
(
'inputType' => 'select',
'eval' => array('mandatory'=>true, 'chosen'=>true, 'submitOnChange'=>true, 'tl_class'=>'w50 wizard'),
'foreignKey' => 'tl_module.name',
'wizard' => array
(
array('tl_content', 'editModule')
Expand Down

0 comments on commit 837cbb5

Please sign in to comment.