Disable input field on class time and date
This commit is contained in:
parent
67b500e626
commit
093ce1747c
|
@ -261,6 +261,7 @@ function InstructorClassEditor(props) {
|
||||||
timeConstraints={{ minutes: { step: 15 } }}
|
timeConstraints={{ minutes: { step: 15 } }}
|
||||||
value={ input.datetime ? moment.utc(input.datetime).tz('America/Edmonton') : (new Date()).setMinutes(0) }
|
value={ input.datetime ? moment.utc(input.datetime).tz('America/Edmonton') : (new Date()).setMinutes(0) }
|
||||||
onChange={handleDatetime}
|
onChange={handleDatetime}
|
||||||
|
input={false}
|
||||||
/>
|
/>
|
||||||
{error.datetime &&
|
{error.datetime &&
|
||||||
<Label pointing prompt>
|
<Label pointing prompt>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user