F
Filamentβ€’16mo ago
DianaMujoiu

Get parameter from URL

Hello. I have this url parameter and I want to pass it to the check_in_date field. How can I do this?
3 Replies
toeknee
toekneeβ€’16mo ago
As they is on creation, you can do it as part of the default so:
->default(request()->get('check_in_date', '0000-00-00'))
->default(request()->get('check_in_date', '0000-00-00'))
or similar should work
DianaMujoiu
DianaMujoiuβ€’16mo ago
thank you πŸ˜€
toeknee
toekneeβ€’16mo ago
No problem