Skip to content

Commit 43b9be4

Browse files
committed
Added Dynamic Form Multi File Upload with Preview and Delete
1 parent 1cc42d1 commit 43b9be4

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Frontend/ecommerce_inventory/src/pages/DynamicForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const DynamicForm=()=>{
104104
<Box mt={2} display="flex" justifyContent="space-between">
105105
{currentStep>0 && (<Button type='button' variant="contained" color="primary" onClick={()=>goToStep(currentStep-1)}><ArrowBackIosIcon sx={{fontSize:'18px',marginRight:'5px'}}/> Back</Button>)}
106106
{currentStep<steps.length-1 && <Button type='button' variant="contained" color="primary" onClick={()=>nextStep()}> Next <ArrowForwardIosIcon sx={{fontSize:'18px',marginLeft:'5px'}}/></Button>}
107-
{<Button sx={{display:currentStep==steps.length-1?'block':'none'}} variant="contained" color="primary" type="submit"><SaveIcon sx={{fontSize:'20px',marginRight:'5px',margingTop:'8px'}}/> Submit</Button>}
107+
{<Button sx={{display:currentStep===steps.length-1?'inline-flex':'none'}} variant="contained" color="primary" type="submit"><SaveIcon sx={{fontSize:'20px',marginRight:'5px',margingTop:'8px'}}/> Submit</Button>}
108108
</Box>
109109
</form>
110110
</FormProvider>

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ Enjoy building your Amazon clone! If you have any questions or run into issues,
155155

156156
<img src="https://raw.githubusercontent.com/hackstarsj/AmazonCloneEcommerceProjectUsingDjangoReact/master/screenshots/14.png" alt="Amazon Clone Project Manage Category" style="width: 100%;"/>
157157

158+
## Added Multi File Upload with Preview in Dynamic Form
159+
160+
<img src="https://raw.githubusercontent.com/hackstarsj/AmazonCloneEcommerceProjectUsingDjangoReact/master/screenshots/15.png" alt="Amazon Clone Project Dynamic Form with Multi File Upload" style="width: 100%;"/>
161+
158162

159163
## Commits
160164
# Commit Tree

screenshots/15.png

99 KB
Loading

0 commit comments

Comments
 (0)