Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Add new Record button is not adding the correct index #168

Open
noreengithub opened this issue Sep 27, 2023 · 0 comments
Open

The Add new Record button is not adding the correct index #168

noreengithub opened this issue Sep 27, 2023 · 0 comments

Comments

@noreengithub
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant