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

Remove or Reorder Objects in An Array #4335

Open
dafeder opened this issue Nov 8, 2024 · 1 comment · May be fixed by #4347
Open

Remove or Reorder Objects in An Array #4335

dafeder opened this issue Nov 8, 2024 · 1 comment · May be fixed by #4347

Comments

@dafeder
Copy link
Member

dafeder commented Nov 8, 2024

If there is an array in the schema you can only add and remove the last item in the dataset form.

For instance, if there are 3 distributions, you cannot change their order or remove just the first or middle one.

A user should be able to remove or reorder any object in the list

@dafeder dafeder self-assigned this Nov 8, 2024
@dafeder dafeder changed the title Enhancement: Remove or Reorder Objects in An Array Remove or Reorder Objects in An Array Nov 8, 2024
@dafeder
Copy link
Member Author

dafeder commented Nov 22, 2024

Getting close on something custom here with all buttons and fieldsets, though starting to think that, at least with simple text fields, something draggable w/tables would be better. See https://api.drupal.org/api/examples/modules%21tabledrag_example%21tabledrag_example.module/group/tabledrag_example/4.0.x

@dafeder dafeder linked a pull request Nov 22, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant