mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Merge pull request #11351 from ToolJet/fix-submit-btn-form
Fix submit button event not triggered when dynamic schema is selected
This commit is contained in:
commit
c1df4f0da9
2 changed files with 1 additions and 6 deletions
|
|
@ -19,7 +19,6 @@ export const Form = function Form(props) {
|
|||
component,
|
||||
width,
|
||||
height,
|
||||
removeComponent,
|
||||
styles,
|
||||
setExposedVariable,
|
||||
setExposedVariables,
|
||||
|
|
@ -28,11 +27,6 @@ export const Form = function Form(props) {
|
|||
properties,
|
||||
resetComponent = () => {},
|
||||
dataCy,
|
||||
paramUpdated,
|
||||
currentLayout,
|
||||
mode,
|
||||
getContainerProps,
|
||||
containerProps,
|
||||
} = props;
|
||||
const childComponents = useStore((state) => state.getChildComponents(id), shallow);
|
||||
const { visibility, disabledState, borderRadius, borderColor, boxShadow } = styles;
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ const RenderSchema = ({ component, parent, id, onOptionChange, onOptionsChange,
|
|||
darkMode={darkMode}
|
||||
fireEvent={fireEvent}
|
||||
formId={formId}
|
||||
id={id}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue