Skip to content

Commit d6b2729

Browse files
committed
Initial Compatibility with Filament v4
- Made the package compatible with Filament 4. - Removed the dispatchEvent method which does not exist anymore - TODO: Upgrade to Tailwindcss v4 theming
1 parent b707daa commit d6b2729

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"require": {
2323
"php": "^8.2",
24-
"filament/filament": "^3",
24+
"filament/filament": "^3|^4.0",
2525
"spatie/laravel-package-tools": "^1.15.0"
2626
},
2727
"require-dev": {
@@ -71,4 +71,4 @@
7171
},
7272
"minimum-stability": "dev",
7373
"prefer-stable": true
74-
}
74+
}

src/Forms/Components/Flatpickr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ public function getFlatpickrAttributes(): array
952952
$attrs->put('inline', $this->isInline());
953953
}
954954

955-
$this->dispatchEvent('attributes-updated', id: $this->getId());
955+
// $this->dispatchEvent('attributes-updated', id: $this->getId());
956956

957957
return $attrs->toArray();
958958
}

0 commit comments

Comments
 (0)