Answers for "Uncaught (in promise) TypeError: Cannot read properties of null (reading 'fingerprint') sortable livewire"

PHP
1

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'fingerprint') sortable livewire

// Don't use this declaration type :

@livewire('tab2', ['user_name' => $user_name], key($tab->id))
// (cause me error 500 and lost of property in child components)

// but:

<livewire:tab2 key="{{ now() }}" :user_name="$user_name" />
Posted by: Guest on April-21-2022
1

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'fingerprint') sortable livewire

// You need to add a key on your component so Livewire can track them

<div>
    @foreach ($files as $file)
        <livewire:file :file="$file" :key="$file->id"/>
    @endforeach
</div>
Posted by: Guest on April-19-2022

Code answers related to "Uncaught (in promise) TypeError: Cannot read properties of null (reading 'fingerprint') sortable livewire"

Browse Popular Code Answers by Language