From d0cbea6b996b30127379757a1ee1cc09da40836c Mon Sep 17 00:00:00 2001 From: Aady Date: Fri, 13 Oct 2023 12:50:20 +0530 Subject: [PATCH] Negative values for time field fix --- src/components/Tutorials/subComps/AddNewStep.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/Tutorials/subComps/AddNewStep.jsx b/src/components/Tutorials/subComps/AddNewStep.jsx index 14f8f1af..808f7687 100644 --- a/src/components/Tutorials/subComps/AddNewStep.jsx +++ b/src/components/Tutorials/subComps/AddNewStep.jsx @@ -12,6 +12,7 @@ import { addNewTutorialStep, clearCreateTutorials } from "../../../store/actions"; +import { min } from "lodash"; const AddNewStepModal = ({ viewModal, @@ -126,6 +127,8 @@ const AddNewStepModal = ({ autoComplete="title" style={{ marginBottom: "2rem" }} data-testid={"newStepTitleInput"} + required="true" + />