Skip to content

Commit

Permalink
reset effective uat when change legal county
Browse files Browse the repository at this point in the history
  • Loading branch information
alexPopaCode4 committed Dec 30, 2024
1 parent f2b2e7d commit b1ca8ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Forms/Components/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ public function getChildComponents(): array
$set($this->getCityField(), null);
if ($this->getCopyPath()) {
$set(\sprintf('../%s.county_id', $this->getCopyPath()), $state);
$set(\sprintf('../%s.city_id', $this->getCopyPath()), null);
}
})
->when(! $this->hasCity(), fn (Select $component) => $component->columnSpanFull()),
Expand Down

0 comments on commit b1ca8ff

Please sign in to comment.