fix: fixed issue of unable to call handle submit function on button click (#656)
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
@import "./export-stepper/ExportStepper";
|
|
||||||
@import "./export-footer/ExportFooter";
|
@import "./export-footer/ExportFooter";
|
||||||
|
|
||||||
.export {
|
.export {
|
||||||
.help-sidebar {
|
.help-sidebar {
|
||||||
margin-top: 7.188rem;
|
margin-top: 7.188rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pgn__stepper-header-step-list {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
.pgn__stepper-header-step-list {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
@@ -27,7 +27,7 @@ const AppConfigFormSaveButton = ({ intl, labelText }) => {
|
|||||||
// cancelable: (optional) a Boolean indicating whether the event can be canceled. The default is false.
|
// cancelable: (optional) a Boolean indicating whether the event can be canceled. The default is false.
|
||||||
// cancelable: true cancels the untrusted event and safari, chrome cancel the untrusted event by default
|
// cancelable: true cancels the untrusted event and safari, chrome cancel the untrusted event by default
|
||||||
formRef.current.dispatchEvent(new Event('submit', {
|
formRef.current.dispatchEvent(new Event('submit', {
|
||||||
cancelable: true,
|
cancelable: true, bubbles: true,
|
||||||
}));
|
}));
|
||||||
}, [formRef]);
|
}, [formRef]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user