Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to automatically delete elements in child tables #1406

Open
zonky2 opened this issue May 21, 2020 · 3 comments
Open

Option to automatically delete elements in child tables #1406

zonky2 opened this issue May 21, 2020 · 3 comments
Assignees
Labels
enhancement This issue is about an enhancement (aka new feature) Up for discussion This ticket will be up for discussion in one of our next calls
Milestone

Comments

@zonky2
Copy link
Contributor

zonky2 commented May 21, 2020

Option to automatically delete elements in child tables is option set "has parent".

At this time, we can use own DCA snippet to realize this function - maybe we can add this and select with checkbox

$GLOBALS['TL_DCA']['mm_events'] = array
(
    'dca_config'      => array
    (
        'data_provider'  => array
        (
            'default' => array
            (
                'source' => 'mm_events'
            ),

            'mm_event_dates' => array
            (
                'source' => 'mm_event_dates'
            ),
        ),
        'childCondition' => array
        (
....
@zonky2 zonky2 added the enhancement This issue is about an enhancement (aka new feature) label May 21, 2020
@zonky2 zonky2 added this to the 2.2.0 milestone May 21, 2020
@zonky2
Copy link
Contributor Author

zonky2 commented Jan 23, 2022

@zonky2 zonky2 modified the milestones: 2.2.0, 2.3.0 May 5, 2022
@zonky2
Copy link
Contributor Author

zonky2 commented May 5, 2022

you would have to develop a configurable system

@zonky2
Copy link
Contributor Author

zonky2 commented Sep 7, 2022

@discordier: maybe we can just add a checkbox in the configuration of the input mask - there the model is defined as a child table...

@zonky2 zonky2 added the Up for discussion This ticket will be up for discussion in one of our next calls label Sep 7, 2022
@zonky2 zonky2 modified the milestones: 2.3.0, 2.4.0 Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue is about an enhancement (aka new feature) Up for discussion This ticket will be up for discussion in one of our next calls
Projects
None yet
Development

No branches or pull requests

3 participants