Result: The following error log is printed in the console.
Warning: A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components
at input
at label
at form
at O (https://localhost:3000/static/js/bundle.js:146108:6)
at CreateAppointmentForm (https://localhost:3000/static/js/bundle.js:1334:5)
at div
at div
at ModalPortal (https://localhost:3000/static/js/bundle.js:132056:5)
at Modal (https://localhost:3000/static/js/bundle.js:131684:5)
at CreateAppointmentModal (https://localhost:3000/static/js/bundle.js:3323:5)
at div
at CalendarPage (https://localhost:3000/static/js/bundle.js:5234:122)
at Routes (https://localhost:3000/static/js/bundle.js:135870:5)
at PrivateRoutes (https://localhost:3000/static/js/bundle.js:10385:56)
at AppRouter (https://localhost:3000/static/js/bundle.js:10205:5)
at UsersProvider (https://localhost:3000/static/js/bundle.js:9967:5)
at CounselorsProvider (https://localhost:3000/static/js/bundle.js:9506:5)
at SchoolsProvider (https://localhost:3000/static/js/bundle.js:9652:5)
at AppointmentsProvider (https://localhost:3000/static/js/bundle.js:9342:5)
at StudentsProvider (https://localhost:3000/static/js/bundle.js:9813:5)
at App (https://localhost:3000/static/js/bundle.js:49:96)
at Router (https://localhost:3000/static/js/bundle.js:135803:15)
at BrowserRouter (https://localhost:3000/static/js/bundle.js:134612:5)
Result: The following error log is printed in the console.