react-tabs issue
softwaresolution357 opened this issue · comments
softwaresolution357 commented
In React-tabs,
Problem: React tabs contains three tabs
-
tab 1 : active and Inactive radio button
-
tab 2 : form tag and ck-editor
-
tab 3: Image uploads
In tab 1, I selected active button, when I go to tab 2, I am writing something ck editor and form tag input field, when I go to tab 3, I upload the image input filed,
but image preview and active button data deleted.
I want hold data every field, Please help me
Joep van Liempd commented
Solution: use the forceRenderTabPanel
prop to maintain state of not-selected <TabPanel>
s (see https://github.com/reactjs/react-tabs#forcerendertabpanel-boolean).