-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
O3-2461: Can't select earlier date on Appointments form #827
Conversation
@@ -217,7 +218,7 @@ const AppointmentForm: React.FC<AppointmentFormProps> = ({ appointment, patientU | |||
dateFormat="d/m/Y" | |||
datePickerType="single" | |||
id="visitDate" | |||
minDate={patientAppointment.visitDate} | |||
minDate={today} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that I set the minDate to be "today", which seems reasnable for a POC scheduling functionality. I'm fine with removing any constraint if people think that is better to allow retrospectively entering/scheduling appointments after they already should have happened.
Size Change: +14 B (0%) Total Size: 2.36 MB ℹ️ View Unchanged
|
Thanks @makombe and @donaldkibet ! |
See: https://issues.openmrs.org/browse/O3-2461
Requirements
Summary
Screenshots
None.
Related Issue
None.
Other
None.