Missing JS on livewire component

Hi all I have a table and form with various actions on an existing project. It looks like the autosize on textareas is throwing an error. livewire.js?id=c4fc8c5d:1125 Alpine Expression Error: height is not defined and ReferenceError: resize is not defined I have included Filament with @filamentScripts in my main layout file. Any ideas? EDIT: I am seeing the same errors on the Panel side of the site as well :/
1 Reply
David | Fortune Validator
Update: I copied the textarea.js file from public/js/filament/textarea.js and it seems to be a new version. Errors have gone away. So my question is why are these files not updating? turns out the upgrade command was missing on composer.json
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan filament:upgrade"
],
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan filament:upgrade"
],
Want results from more Discord servers?
Add your server