Level 2
I figured it out! By using sessions, I can pass the data in between different functions.
Here is my code:
#[On('BubbledEvent')]
public function ShowResult($Date) {
session()->flash('bubble', "$Date");
// bubbleShow gets passed into display button
Session::put('bubbleShow', "$Date");
}
public function Display() {
session()->flash('Course_Added', 'Course Added');
// bubbleShow is from child to parent event
$Products = new Date_ProductModel;
$Products->Date_ID = session('bubbleShow');
$Products->save();
}