How does octobercms handle defer binding from components? I tried using the code below (which worked for image file type) to achieve the same result for the normal text input field but it did not work.

    $avatar = new File;


This is what i have for the text fields:

    $start_date = new File;

    $end_date = new File;

    $user->dates()->add($start_date, $sessionKey);
    $user->dates()->add($end_date, $sessionKey);

The deferred binding worked very well from the controller. But then the code above does not return anything.

Last updated

1-1 of 1