What seems to be the problem:
I have a Livewire component with a form and a child component included.
However i get this “Cannot read property ‘fingerprint’ of null error” when typing into a text box in the form. If i don’t include the child component, the JS error won’t occur.
However this does not make any sense to me. Even if i clear out the child component and only leave
an empty DIV in the blade file, i still have the error.
Both the parent component (containing the form and the included child component) have one root element. Hitting my head to the wall, these fingerprint errors seems to pup up everywhere, even with empty components or unique keys, etc.
Can someone just help me understand how this works and what i’m doing wrong?
Are you using the latest version of Livewire:
Livewire 2.3.17, Laravel 7.3
Do you have any screenshots or code examples:
Parent component:
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
@include('news.form-create-news')
</div>
<div class="col-md-6">
@livewire('news.listing', [], key('news-listing'))
</div>
</div>
</div>
Form:
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="bg-white p-5 my-4 shadow">
<form class="mt-4">
<div class="form-group">
<label for="">Title</label>
<input type="text" class="form-control" wire:model="title" placeholder="Title">
</div>
<div class="form-group">
<input type="hidden" wire:model="content" id="news_content">
</div>
<div wire:ignore id="news-article-content-editor" class="form-group">
<label >Content</label>
<div wire:ignore class="container" style="border:1px solid #e4e4e4">
<div id="editorjs"></div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
Child component:
<div>
The child component
</div>