Disable input field on class time and date

master
Tanner Collin 2 years ago
parent 67b500e626
commit 093ce1747c
  1. 1
      webclient/src/InstructorClasses.js

@ -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>

Loading…
Cancel
Save