16435 logic to disable continue button so cant submit empty rep
This commit is contained in:
@@ -171,6 +171,7 @@ const ConsultationAppellant = (props) => {
|
||||
</div>{" "}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{typeof formObj.representationForm.values.representationType !=
|
||||
"undefined" && (
|
||||
<div className="govuk-grid-row">
|
||||
@@ -179,6 +180,11 @@ const ConsultationAppellant = (props) => {
|
||||
type="submit"
|
||||
className="govuk-button"
|
||||
data-module="govuk-button"
|
||||
disabled={
|
||||
props.currentView.fileList.length < 1
|
||||
? true
|
||||
: false
|
||||
}
|
||||
>
|
||||
{t("common:continue-button")}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user