passed checkout time to timepicker as props
This commit is contained in:
parent
9e1dc8e203
commit
bd91f60e08
@ -73,7 +73,7 @@ const CheckCheckOutmodel = ({modeldata,closeModal,handleSubmitForm,}) => {
|
||||
label="Choose a time"
|
||||
onChange={(e) => setValue("markTime", e)}
|
||||
interval={10}
|
||||
activity={modeldata?.action}
|
||||
checkOutTime={modeldata?.checkOutTime}
|
||||
checkInTime={modeldata?.checkInTime}
|
||||
/>
|
||||
{errors. markTime && <p className="text-danger">{errors.markTime.message}</p>}
|
||||
|
Loading…
x
Reference in New Issue
Block a user