|
|
@@ -24,6 +24,8 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => { |
|
|
|
const [isWarningPopUp, setIsWarningPopUp] = React.useState(false); |
|
|
|
const [warningText, setWarningText] = React.useState(""); |
|
|
|
const [attachment, setAttachment] = React.useState({}); |
|
|
|
|
|
|
|
const [issueId, setIssueId] = React.useState(loadedData.issueId); |
|
|
|
const navigate = useNavigate(); |
|
|
|
|
|
|
|
const BackgroundHead = { |
|
|
@@ -83,7 +85,7 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => { |
|
|
|
countryCode: values.fax_countryCode, |
|
|
|
faxNumber: values.faxNumber |
|
|
|
}, |
|
|
|
issueId: values.issueId, |
|
|
|
issueId: issueId, |
|
|
|
remarks: values.remarks ? values.remarks : "", |
|
|
|
}, |
|
|
|
files: [attachment], |
|
|
@@ -172,7 +174,10 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => { |
|
|
|
aria-labelledby="demo-radio-buttons-group-label" |
|
|
|
id="issueId" |
|
|
|
name="issueId" |
|
|
|
defaultValue={formik.values.issueId} |
|
|
|
defaultValue={issueId} |
|
|
|
onChange={(event)=>{ |
|
|
|
setIssueId(event.target.value); |
|
|
|
}} |
|
|
|
> |
|
|
|
{ |
|
|
|
selections |
|
|
|