For example ,refer image below left column show user input, right column shows first slide preview , once you click add new , current preview slide should save state in array increment id, and add more slides. Use select option to switch each slide state preview and update .finaly if you click save All button it should return as object for all slides.
images:[
slide1:{
id: 1,
image_url:'www.example.com'
},
slide2:{
id: 2,
image_url:'www.example.com'
}
]
