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:
Johnson Cherian 2024-11-18 18:35:16 +05:30 committed by GitHub
commit c1df4f0da9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -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;

View file

@ -50,6 +50,7 @@ const RenderSchema = ({ component, parent, id, onOptionChange, onOptionsChange,
darkMode={darkMode}
fireEvent={fireEvent}
formId={formId}
id={id}
/>
);
};