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

In SpatieTagsInput component, reorderable() feature is not working #14650

Open
diegoldev opened this issue Oct 29, 2024 · 0 comments
Open

In SpatieTagsInput component, reorderable() feature is not working #14650

diegoldev opened this issue Oct 29, 2024 · 0 comments
Labels

Comments

@diegoldev
Copy link

diegoldev commented Oct 29, 2024

Package

filament/spatie-laravel-tags-plugin

Package Version

v3.2.121

Laravel Version

v11.29.0

Livewire Version

No response

PHP Version

8.2.0

Problem description

SpatieTags Component does not support reorderable feature as origina TagsInput does.
You can reorder the tags in the UI but the order is not saved, I think that this is because taggable table does not have an order column and neither the order is handled on the save action neither load action.

Expected behavior

When I reorder the tags it should be saved and then shown as it was ordered previoulsy

Steps to reproduce

  1. Create SpatieTagsInput component
  2. Add tags to the component
  3. Reorder the added tags
  4. The tags are not saved neither shown as it was ordered in step 3.

Reproduction repository (issue will be closed if this is not valid)

https://github.com/diegoldev/spatietags-issue/tree/main

Relevant log output

No response

Donate 💰 to fund this issue

  • You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
  • 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
  • Thank you in advance for helping us make maintenance sustainable!
Fund with Polar
@github-project-automation github-project-automation bot moved this to Todo in Roadmap Oct 29, 2024
@diegoldev diegoldev changed the title In SpatieTagsInput componet, reorderable() feature is not working In SpatieTagsInput component, reorderable() feature is not working Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant