We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68d2edd + 5cde457 commit a542cd1Copy full SHA for a542cd1
src/Components/Facility/ConsultationForm.tsx
@@ -946,7 +946,7 @@ export const ConsultationForm = (props: any) => {
946
required
947
label="Route to Facility"
948
{...field("route_to_facility")}
949
- disabled={isUpdate}
+ disabled={isUpdate && !!state.form.route_to_facility} // For backwards compatibility; Allow in edit form only if route_to_facility is not set previously
950
/>
951
</div>
952
0 commit comments