->createOptionUsing()
->createOptionUsing(function ($data, $set) use ($order) {$meal = Meal::create([ 'name' => $data['name'], 'kitchen_id' => $order->provider_id, 'approved' => false,]);$set('meal_id', $meal->id);
createOption
$set('meal_id', $meal->id);
$set('meal_id', $meal);
->createOptionForm
->createOptionUsing
rephub/10
HasForms
wire:ignore