Disable input field on class time and date

This commit is contained in:
Tanner Collin 2022-03-16 04:36:15 +00:00
parent 67b500e626
commit 093ce1747c

View File

@ -261,6 +261,7 @@ function InstructorClassEditor(props) {
timeConstraints={{ minutes: { step: 15 } }}
value={ input.datetime ? moment.utc(input.datetime).tz('America/Edmonton') : (new Date()).setMinutes(0) }
onChange={handleDatetime}
input={false}
/>
{error.datetime &&
<Label pointing prompt>