Skip to content

Commit

Permalink
added form.watch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahendar0701 committed Jan 12, 2025
1 parent 43caefd commit 5ffb199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Facility/FacilityCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ export const FacilityCreate = (props: FacilityProps) => {
<div className="col-span-2 grid grid-cols-2 gap-5">
<OrganizationSelector
required={true}
value={facilityData?.geo_organization}
value={form.watch("geo_organization")}
parentSelectedLevels={selectedLevels}
onChange={(value) => {
form.setValue("geo_organization", value);
Expand Down

0 comments on commit 5ffb199

Please sign in to comment.