© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
2y ago
•
1 reply
bhattji
How to set date of the DatePicker component?
I wish to set the Maturity date when the Loan Date is entered
. I have written the code as below
-
>reactive
(
)
-
>afterStateUpdated
(function
(callable
$get
, callable
$set
)
{
$scheme
=
\App
\Models
\
S
c
h
e
m
e
:
:find
(
$get
(
'scheme
_id
'
)
)
;
if
(
$scheme
)
{
$set
(
'maturity
_date
'
,
\Carbon
\
C
a
r
b
o
n
:
:parse
(
$scheme
-
>loan
_date
)
-
>addDays
(
$scheme
-
>days
)
)
;
}
}
)
but it is not working
How to set date of the DatePicker component
?
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Default date of DatePicker
F
Filament / ❓┊help
14mo ago
datepicker initial date
F
Filament / ❓┊help
2y ago
Datepicker date format
F
Filament / ❓┊help
3y ago
How to set default date in DatePicker form field in filtersForm?
F
Filament / ❓┊help
2y ago