0

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'
 }
] 

enter image description here

2
  • What have you tried yourself? Commented Apr 18, 2018 at 22:34
  • I tired this stackoverflow.com/questions/35905988/… , but i dont know how to save old state objects and to create form for new image slide Commented Apr 19, 2018 at 10:03

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.