Skip to content

Commit a542cd1

Browse files
committed
Merge branch 'develop' | Hotfix
2 parents 68d2edd + 5cde457 commit a542cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Facility/ConsultationForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ export const ConsultationForm = (props: any) => {
946946
required
947947
label="Route to Facility"
948948
{...field("route_to_facility")}
949-
disabled={isUpdate}
949+
disabled={isUpdate && !!state.form.route_to_facility} // For backwards compatibility; Allow in edit form only if route_to_facility is not set previously
950950
/>
951951
</div>
952952

0 commit comments

Comments
 (0)