Compare commits

...

3 Commits

2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ const validationSchema = Yup.object().shape({
.required("Description is required"),
job_detail: Yup.string()
.min(3, "Minimum 3 characters")
.max(1440, "Maximum 1440 characters")
.max(499, "Maximum 499 characters")
.required("Details is required"),
timeline_days: Yup.number()
.typeError("you must specify a number")
+3 -3
View File
@@ -225,7 +225,7 @@ function JobListPopout({ details, onClose, situation }) {
<div className="my-3 md:flex">
<Detail
label="Created"
value={new Date(details?.created).toDateString()}//{`Dummy, no value found for created!`}
value={new Date(details?.created).toDateString()}
/>
</div>
@@ -234,8 +234,8 @@ function JobListPopout({ details, onClose, situation }) {
Delivery Detail
</label>
<textarea
className={`p-1 w-full text-sm text-slate-900 dark:text-white bg-transparent outline-none border border-slate-300 rounded-md`}
rows="5"
className={`p-2 w-full text-sm text-slate-900 dark:text-white bg-transparent outline-none border border-slate-300 rounded-md`}
rows="7"
style={{ resize: "none" }}
value={textArea}
onChange={handleInputChange}