[WIP] Claim Encounters

This commit is contained in:
R
2023-03-24 14:41:02 +07:00
parent 229908e492
commit 7b9a341ccd
23 changed files with 1099 additions and 37 deletions

View File

@@ -49,13 +49,30 @@ export default function RHFDatepicker({ name, ...other }: IProps & TextFieldProp
/>
)}
/> */}
<DesktopDatePicker
{/* <DesktopDatePicker
value={field.value}
inputFormat="dd/MM/yyyy"
onChange={(value) => {
field.onChange(value)
}}
renderInput={(params) => <TextField {...params} fullWidth />}
/> */}
<DesktopDatePicker
value={field.value}
inputFormat="dd/MM/yyyy"
onChange={(value) => {
field.onChange(value);
}}
renderInput={(params) => (
<TextField
{...params}
fullWidth
error={!!error}
helperText={error?.message}
{...other}
/>
)}
/>
</LocalizationProvider>
)}