16435 logic to disable continue button so cant submit empty rep
This commit is contained in:
@@ -1390,6 +1390,12 @@ export function FileUploadField(props) {
|
||||
);
|
||||
}
|
||||
|
||||
export const shouldDisableButton = ({ props, formObj }) =>
|
||||
!(
|
||||
props?.currentView?.fileList?.length > 0 ||
|
||||
typeof formObj?.representationForm?.values?.representationComments !==
|
||||
"undefined"
|
||||
);
|
||||
// export const RepresentationGuidanceText = (appealType) => {
|
||||
// let { t } = useTranslation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user