Fix reactive min/max dates, modal loading, time input, and year picker#144
Merged
Conversation
Mirror Filament's date-time-picker wire:key pattern for dynamic min/max dates, lazy-load flatpickr in modals via IntersectionObserver and modal events, commit manual time input on blur/close, and add yearPicker() with tests. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jun 13, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
minDate/maxDate: mirror Filament'swire:key+ hidden constraint inputs so the picker re-inits when closures re-evaluatex-loadtriggers, addIntersectionObserver, and listen for modal open events before initializing FlatpickronCloseand inputblurwhenallowInputor time picker is enabledyearPicker()withYformat and JS year extraction on changeAlso closes issues already fixed in #143 that remain open on GitHub: #100, #103, #122, #126, #128, #131, #133, #141, #130, #125, #119.
Out of scope: #124 (Filament v3) — package targets Filament v4/v5 per README.
Test plan
vendor/bin/pint --testvendor/bin/phpstan analysevendor/bin/pest --ci(19 tests)npm run build