mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
CE-551 Fix, only do formik ErrorMessage when inForm
This commit is contained in:
@ -320,11 +320,14 @@ function DynamicSelect({tableName, processName, fieldName, overrideId, fieldLabe
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<Box mt={0.75}>
|
{
|
||||||
<MDTypography component="div" variant="caption" color="error" fontWeight="regular">
|
inForm &&
|
||||||
{!isDisabled && <div className="fieldErrorMessage"><ErrorMessage name={fieldName} render={msg => <span data-field-error="true">{msg}</span>} /></div>}
|
<Box mt={0.75}>
|
||||||
</MDTypography>
|
<MDTypography component="div" variant="caption" color="error" fontWeight="regular">
|
||||||
</Box>
|
{!isDisabled && <div className="fieldErrorMessage"><ErrorMessage name={fieldName} render={msg => <span data-field-error="true">{msg}</span>} /></div>}
|
||||||
|
</MDTypography>
|
||||||
|
</Box>
|
||||||
|
}
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user