F
Filament12mo ago
gizmojo

Syntax error with text-input-column.blade.php

When I use TextInputColumn (inside a relationmanager) when it loads throws error:
Alpine Expression Error: unexpected token: ':' Expression: "x-on:click.stop"
Inspecting the html results in:
<div class="fi-input-wrp flex rounded-lg shadow-sm ring-1 transition duration-75 bg-white focus-within:ring-2 dark:bg-white/5 ring-gray-950/10 focus-within:ring-primary-600 dark:ring-white/20 dark:focus-within:ring-primary-500" x-on:click.stop="x-on:click.stop">
...
</div>
<div class="fi-input-wrp flex rounded-lg shadow-sm ring-1 transition duration-75 bg-white focus-within:ring-2 dark:bg-white/5 ring-gray-950/10 focus-within:ring-primary-600 dark:ring-white/20 dark:focus-within:ring-primary-500" x-on:click.stop="x-on:click.stop">
...
</div>
Seems a strange fix but changing this to equal empty fixes it. Is it worth creating a PR for it?
x-on:click.stop=""
x-on:click.stop=""
No description
2 Replies
LeandroFerreira
LeandroFerreira12mo ago
after Filament 3.1.17 I think
gizmojo
gizmojoOP12mo ago
Cheers yeah see now it was only added recently.
Want results from more Discord servers?
Add your server