Issue Feature Rejected

#91238FormEngine new record with child record

Roman Büchler 04/29/20, 18:34 updated 07/24/24, 05:59

Description

With the extension timelog working time is registered for tasks. The working time is defined by intervals that form child records from a task record (1:n relationship). When the user creates a new task he has to click the “Create new”-button to add an interval. It would be a better user experience if an interval would be automatically created when creating the task.

For TYPO3 V9 it was solved in a FormDataProvider with JS fireing a click event on the new button:

$pageRenderer->loadRequireJsModule(
    'jquery',
    'function() { $(".inlineNewButton").trigger("click"); }'
);

For TYPO3 V10 the js aproach doesn’t work any more.

May be other users have similar use cases that could make such a feature interesting.

Reviews 0

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

History 1

  1. Georg Ringer commented and changed status New Rejected 07/24/24, 05:59

    Hey Roman,

    this should already work out of the box using a custom formdataprovider which populates the form with a fake row.

    also the (IMHO!) wrong way to trigger a click should be still be possible but I wouldn’t go the client side way