Forms\Components\TextInput::make('sellingPoint.name')
->reactive()
->afterStateUpdated(function (?VendingMachine $record, $state) {
$record?->sellingPoint?->update([
'name' => $state
]);
}),
Forms\Components\TextInput::make('sellingPoint.name')
->reactive()
->afterStateUpdated(function (?VendingMachine $record, $state) {
$record?->sellingPoint?->update([
'name' => $state
]);
}),