File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/connect-react/src/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export function InternalComponentForm() {
9595 color : "red" ,
9696 } } > Error: { err . message } </ p > } >
9797 < Suspense fallback = { < p > Loading form...</ p > } >
98- < form { ...getProps ( "componentForm" , baseStyles , props ) } onSubmit = { _onSubmit } >
98+ < form { ...getProps ( "componentForm" , baseStyles , formContextProps ) } onSubmit = { _onSubmit } >
9999 { shownProps . map ( ( [
100100 prop ,
101101 idx ,
@@ -108,8 +108,8 @@ export function InternalComponentForm() {
108108 { dynamicPropsQueryIsFetching && < p > Loading dynamic props...</ p > }
109109 { ( ! hideOptionalProps && optionalProps . length )
110110 ? < div >
111- < div { ...getProps ( "heading" , baseHeadingStyles , props ) } > Optional Props</ div >
112- < div { ...getProps ( "optionalFields" , baseOptionalFieldsStyles , props ) } >
111+ < div { ...getProps ( "heading" , baseHeadingStyles , formContextProps ) } > Optional Props</ div >
112+ < div { ...getProps ( "optionalFields" , baseOptionalFieldsStyles , formContextProps ) } >
113113 { optionalProps . map ( ( [
114114 prop ,
115115 enabled ,
You can’t perform that action at this time.
0 commit comments