28370 Commits
Author SHA1 Message Date
Nguyễn Trần ChungandDan Harrin 4be2744e60 feat(auth): add autocomplete attributes to form inputs (#17548)
* feat(auth): add autocomplete attributes to form inputs

Add autocomplete attributes to improve user experience and accessibility in authentication forms. This helps browsers autofill fields correctly and follows best practices for form input handling.

* refactor(auth): update form component return types to Component interface

* Update EditProfile.php

* Remove autocomplete from email input field

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
v4.0.18
2025-09-18 23:19:06 +01:00
oddvalueandDan Harrin 6e902df59a [4.x] Feat: Add RawHtmlMergeTagExtension for rendering unescaped HTML merge tags in rich editor (#17437)
* Feat: Add RawHtmlMergeTagExtension for rendering unescaped HTML content in rich editor

* Fix: User correct extension for html merge tags

* clean up

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-18 23:11:48 +01:00
Dorian AlaryandDan Harrin 1f38aa025e [4.x] feat: Added three new functions to SpatieMediaLibraryFileAttachmentProvider to customize media and their attributes (#17426)
* feat: Added functions to customize SpatieMediaProvider

Added three new functions to SpatieMediaLibraryFileAttachmentProvider to customize media and their attributes Theses functions are:

- preserveFilenames()
- mediaName()
- customProperties()

They allow to change the name of the media in storage, change the name of the media in the database, and add custom properties to the media in the database.

* feat: Edit plugin doc

* Update README.md

* Update SpatieMediaLibraryFileAttachmentProvider.php

* Update SpatieMediaLibraryFileAttachmentProvider.php

---------

Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-18 22:45:23 +01:00
Sascha EndeandDan Harrin e4be0d2fe3 feat(tables): add scrollToTop() to auto-scroll after pagination (#17419)
* feat(tables): add scrollToTop() to auto-scroll after pagination
Add Table->scrollToTop() option to scroll to top when table pagination changes. Introduce a new Table concern (CanScrollToTop) and dispatch a 'filament-tables-scroll-to-top' browser event from InteractsWithTable::setPage for the table’s page name. The table root view conditionally listens via Alpine and calls window.scrollTo(0, 0).
Opt-in; disabled by default; no breaking changes
No AppServiceProvider render hook required
Usage: return $table->scrollToTop()

* feat(tables): enhance scrollToTop behavior for specific table instances

* - keep the same name for the method: scrollToTopOnPageChange()
- remove german comment
- Undo changes that were accidentally
  committed

* - remove german comment

* update setPage method parameter types

* refactor: remove outdated docblock for setPage method

* clean up

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-18 22:31:51 +01:00
WenRenHaiandDan Harrin 2d2e0a7fd5 fix: unset contain property for modals with file upload editor (#17825)
* fix: unset contain property for modals with file upload editor

* fix: prevent pressing esc to close in `modal` and fix the error when closing the editor

* fix: apply layout containment to select and dropdown, remove from modal window

* fix: move layout containment for select and dropdown into modal context

* fix: add configurable flip and teleport options for dropdowns in action groups

* fix:incorrect position of select inside modal, Done!

* fix: resolve css conflict

* preserve custom dropdown teleport preference

* Update theme.css

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-18 22:14:59 +01:00
8f9801f306 Add action render hooks (#17355)
* add action render hooks

* update docs

* update docs

* chore: fix code style

* clean up

---------

Co-authored-by: dvarilek <dvarilek@users.noreply.github.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-18 21:57:19 +01:00
oddvalueandDan Harrin 41a4e495d5 [4.x] Feat: Add compact option to table repeater (#17411)
* Feat: Add streamlined option to table repeater

* Feat: Replace streamlined table repeater option with compact alternative

* Add padding to compact repeater infolist entries

* clean up

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-18 21:57:11 +01:00
Stefan Schramm b56ef3a2fc Fix: replace hardcoded password and remember_token fields with Laravel methods (#17853) 2025-09-18 21:57:06 +01:00
Dan Harrin 85a7682aa2 Merge pull request #17849 from filamentphp/fix/cast-select-state-to-int
fix: Cast select state to int
2025-09-18 09:20:35 +01:00
Dan Harrin fdc521265e Merge pull request #17850 from luisprmat/4.x
Update missing spanish translations
2025-09-18 09:00:56 +01:00
Dan Harrin 2d542a1afd Update EnumArrayStateCastTest.php 2025-09-18 08:22:37 +01:00
Luis Parrado 4e6c4bb1cf Update missing spanish translations 2025-09-17 17:47:26 -05:00
Dan Harrin 6b64849e59 Update EnumStateCastTest.php 2025-09-17 22:29:13 +01:00
Dan Harrin 5a884cb4de Update EnumStateCastTest.php 2025-09-17 22:17:52 +01:00
Dan Harrin 8744b38ee5 Rename 2025-09-17 22:16:45 +01:00
Dan Harrin 453f88f20e fix: Cast select state to int 2025-09-17 22:13:37 +01:00
Dan Harrin 8d6f6ef076 Merge pull request #17838 from dissto/patch-3 v4.0.17 2025-09-17 07:07:23 +01:00
M. D. 3791361412 docs: Fixes syntax error 2025-09-17 03:18:34 +02:00
Dan Harrin 01a440a33d Merge pull request #17440 from tanthammar/rich-editor
Mime type and file size validation
2025-09-16 22:37:39 +01:00
Dan Harrin 73246598cf formatting 2025-09-16 22:36:27 +01:00
Dan Harrin 6222a5b8fc Update Group.php 2025-09-16 22:34:45 +01:00
Dan Harrin ba1e97ab8a Docs and markdown editor support 2025-09-16 22:34:38 +01:00
Dan Harrin 5742bfefba Update theme.css 2025-09-16 22:20:19 +01:00
Dan Harrin e3d545bc3d Merge branch '4.x' into pr/17440 2025-09-16 22:20:06 +01:00
Dan Harrin 90f25fc520 clean up 2025-09-16 22:18:58 +01:00
Dan Harrin 84b09150c6 Merge pull request #17829 from tanthammar/range-slider
Make TextInput type range, visible
2025-09-16 21:06:05 +01:00
Dan Harrin 22fcd4e0c2 recompile 2025-09-16 21:04:32 +01:00
Dan Harrin d047aa1baf Merge branch '4.x' into pr/17829 2025-09-16 21:02:44 +01:00
Dan Harrin d0fb64bd45 Merge pull request #17830 from f-liva/4.x
fix: handle 'as' alias in orderBy correctly in Select component
2025-09-16 20:44:56 +01:00
Dan Harrin 7f5d2b413c update other places 2025-09-16 20:44:16 +01:00
Dan Harrin 55e10727fa Merge branch '3.x' into 4.x 2025-09-16 20:06:20 +01:00
Dan Harrin 11b5ba56ca Merge pull request #17835 from filamentphp/Allow-html-in-table-grouping-label-and-title
Allow html in table grouping label and title
v3.3.39
2025-09-16 20:05:47 +01:00
Kenneth Sese 8f429138eb Allow html in table grouping label and title 2025-09-16 11:33:35 -06:00
Dan Harrin a4a1e8c464 Merge branch '4.x' of https://github.com/filamentphp/filament into 4.x 2025-09-16 17:16:00 +01:00
Dan Harrin c84f15ae7f Remove Laravel 10 docs refs 2025-09-16 17:15:55 +01:00
Dan Harrin ced02d1112 Merge pull request #17834 from filamentphp/fix/merge-action-arguments-without-overwriting
fix: Merge action arguments without overwriting
2025-09-16 17:12:04 +01:00
Dan Harrin b2c14a5ab3 Update TestsActions.php 2025-09-16 17:07:02 +01:00
Dan Harrin 246f547c52 fix 2025-09-16 17:03:31 +01:00
Dan Harrin 5719f62a79 Revert "fix: Merge action arguments without overwriting"
This reverts commit 67e29cfaec.
2025-09-16 17:03:03 +01:00
Dan Harrin 67e29cfaec fix: Merge action arguments without overwriting 2025-09-16 16:50:03 +01:00
Tina Hammar cd1dcedcdb composer cs 2025-09-16 15:29:03 +02:00
Tina Hammar 1d5b576194 merge main 2025-09-16 15:25:04 +02:00
Tina Hammar 4c3b0975f0 Merge branch '4.x' into rich-editor 2025-09-16 15:23:15 +02:00
Federico Liva da22f7990c fix: handle 'as' alias in orderBy correctly in Select component
Adjust the orderBy logic in the Select component's relationship
method to correctly handle attributes that use aliases ('as' syntax).
This ensures the query orders by the actual column name instead of the
alias, preventing potential database errors. This change resolves
issues when dealing with complex queries where attributes are aliased.
2025-09-16 13:22:02 +02:00
Dan Harrin 34ed27f392 Merge pull request #17827 from filamentphp/fix/partially-render-deferred-filters-form-after-action-used
fix: Partially render deferred filters form after action used
2025-09-16 12:07:29 +01:00
Tina Hammar b20c96e6b5 fix range-slider 2025-09-16 12:59:57 +02:00
Dan Harrin 8f869c1b69 Update InteractsWithSchemas.php 2025-09-16 11:53:15 +01:00
Dan Harrin 539544e9db Update HasFileAttachments.php 2025-09-16 11:48:23 +01:00
Dan Harrin 2469a77d2e fix: Partially render deferred filters form after action used 2025-09-16 11:44:07 +01:00
Dan Harrin 7da2a51ffc Merge pull request #17826 from filamentphp/fix/deferred-query-builder
fix: Deferred query builder
2025-09-16 11:21:49 +01:00