mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat(FE-208): enhance DateInput component with range selection and modal support
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
||||
CreateAcceptApprovalRequisitionsPayload,
|
||||
Purchase,
|
||||
} from '@/types/api/purchase/purchase';
|
||||
import DateInput from '@/components/input/DateInput';
|
||||
|
||||
interface PurchaseOrderAcceptApprovalFormProps {
|
||||
type?: 'add' | 'edit';
|
||||
@@ -472,10 +473,10 @@ const PurchaseOrderAcceptApprovalForm = ({
|
||||
/>
|
||||
</td>
|
||||
<td>
|
||||
<TextInput
|
||||
<DateInput
|
||||
required
|
||||
isNestedModal={true}
|
||||
name={`items.${idx}.received_date`}
|
||||
type='date'
|
||||
value={item.received_date || ''}
|
||||
onChange={(e) =>
|
||||
formik.setFieldValue(
|
||||
|
||||
Reference in New Issue
Block a user