laravel-nova-nested-form icon indicating copy to clipboard operation
laravel-nova-nested-form copied to clipboard

The Add new Record button is not adding the correct index

Open noreengithub opened this issue 1 year ago • 0 comments

I have a Question and multiple answers of it. when I update the question like this.

On Edit Page . Question1 , Answer1, Answer2, Answer3. After Some Change like . Answer1 deleted. Answer2 deleted, Answer3 deleted , Answer4 added. Answer4 added.

The Question should be like this after update.

Question1 , Answer4, Answer5

but its like this. Question1 , Answer1, Answer2, Answer3, Answer5

the issue is when i click the add new answer plus button the indexs are like this.

answers[2][title] = Answer4, answers[2][title] = Answer5

kindly suggest any solution

noreengithub avatar Sep 27 '23 17:09 noreengithub