outl1ne / nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag & drop.
MIT License
284 stars 120 forks source link

Not work with Outl1ne\NovaTranslatable #171

Open majweb opened 1 year ago

majweb commented 1 year ago
     Text::make('Nazwa','name')
            ->sortable()
            ->rules('required', 'max:255')
            ->translatable()

While moving the row is ok after leaving it does not change its position. If I refresh the page, it's ok. The latest new version and the latest packages.

tominal commented 1 year ago

I am also experiencing this. It's updating the database correctly, but the frontend looks like it isn't updating the translatable value correctly.

Rolling back a couple versions didn't help, so this must be an old bug that hasn't been squashed until now.

If you use https://github.com/spatie/nova-translatable instead of outl1ne's then the row reflects the correct value.