Closed mandeepbrar closed 8 years ago
Tell us which versions you are using:
User should be able to save form when the form elements are split in different tabs
Get an error message 'Invalid value undefined supplied to Struct'.
<Tabs> <TabList> <Tab>t1</Tab> <Tab>t2</Tab> </TabList> <TabPanel> <div>{locals.inputs.f1}</div> </TabPanel> <TabPanel> <div>{locals.inputs.f2}</div> </TabPanel> </Tabs>
By default react-tabs will only render the selected tab's contents, you can fix that using forceRenderTabPanel:
react-tabs
forceRenderTabPanel
<Tabs forceRenderTabPanel> ... </Tabs>
Thanks. Works great.
Version
Tell us which versions you are using:
Expected behaviour
User should be able to save form when the form elements are split in different tabs
Actual behaviour
Get an error message 'Invalid value undefined supplied to Struct'.
Steps to reproduce