From 093ce1747c70a49e852baac4a871647b93cee92d Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 16 Mar 2022 04:36:15 +0000 Subject: [PATCH] Disable input field on class time and date --- webclient/src/InstructorClasses.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webclient/src/InstructorClasses.js b/webclient/src/InstructorClasses.js index db36081..e7be887 100644 --- a/webclient/src/InstructorClasses.js +++ b/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 &&