Comments (13)
This is the error when do the sorting and using alpinejs v3
Unable to call component method. Public method [__v_raw] not found on component: [profile.edit-profile-page]
from laravel-blade-sortable.
As a workaround I have done the following:
- remove
<x-laravel-blade-sortable::scripts/>
- copy content from the removed component (
asantibanez/laravel-blade-sortable/resources/views/components/scripts.blade.php
) into my Livewire component
Change:
this.wireComponent.call(
this.wireOnSortOrderChange,
this.sortOrder,
previousSortOrder,
this.name,
from,
to,
)
to
@this[this.wireOnSortOrderChange](
this.sortOrder,
previousSortOrder,
this.name,
from,
to,
)
from laravel-blade-sortable.
Just got across this, ended up using a method similar to @SebastianSchoeps, however, just replaced references to this.wireComponent
to this.$wire
.
from laravel-blade-sortable.
Any news about alpinejs v3?
from laravel-blade-sortable.
Some ETA when Alpine v3 will work?
from laravel-blade-sortable.
@asantibanez Liking the package, but it's the same for me...
from laravel-blade-sortable.
Any updates on this?
from laravel-blade-sortable.
Hi,
We encountered same issue with Alpine V3.
As @SebastianSchoeps workaround works fine, we submitted PR #11
from laravel-blade-sortable.
Same problem with alpine V3 "__v_raw"
from laravel-blade-sortable.
Hola Andres @asantibanez , please when you can check the PR, such a good package
from laravel-blade-sortable.
Hi,
We encountered same issue with Alpine V3.
As @SebastianSchoeps workaround works fine, we submitted PR #11
Hi @brocorp-dev I don't know if its just me, but Im getting an error: Trying to get property 'id' of non-object (View: .../components/scripts.blade.php) any ideas ? appreciate the help
from laravel-blade-sortable.
@nam-co I got that error too. I was able to solve it by adding the following to the page where I'm using it: <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.6.0 /Sortable.js"></script> maybe this will help you too.
from laravel-blade-sortable.
Thanks @rolinbos , I ended using sortable directly because I needed features like 'clone', but I will keep it in mind, is this a unreleased version of sortable?
from laravel-blade-sortable.
Related Issues (20)
- Deleting sortable-item HOT 2
- Disable Sortable when displaying a Livewire modal
- defer modifier is not working HOT 1
- Drag handle
- append / prepend when drop whilst allow-sort is false
- how to skipRender on handleSortOrderChange?
- Get updated sort order for $from and $to groups? HOT 1
- Multiple drop zones HOT 2
- allow-drag=true|false HOT 1
- Laravel 9 support HOT 5
- Unable to call component method. Public method [__v_raw] not found on component: HOT 1
- Alpine V3 error create
- No data is passed
- Handling Order Changes without live wire
- Laravel 10 support HOT 5
- skip/disable any of the item from the list
- Sort between groups, not inside HOT 2
- nested livewire component issue when drag/drop from groupe to another
- $dom.getAttribute is not a function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-blade-sortable.