You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a submit form the value of the flux:date-picker is not passed in the submit action: <flux:date-picker name="start_date" :value="now()->format('Y-m-d')" />
Using flux:input works fine.
Data received in the Request:
Illuminate\Http\Request {50 ▼
InputBag
{51 ▼
#parameters: array:2 [▼
"_token" => "zdPooQ6yKWsel64KH4OwWguwcS6ovn0NgGkgPqiA"
"date_input" => "2025-02-28"
]
}
@Kuzuto currently Flux doesn't support native form submissions, hence why this won't be working. We currently have an open issue about this, see #341, which we have been working on a solution for. As this is a duplicate, I'm going to close this issue. Please add your support to #341. Thanks!
Flux version
v2.0.3
Livewire version
v3.6.0
Tailwind version
v4.0.7
Browser and Operating System
Chrome on MacOS
What is the problem?
When I have a submit form the value of the flux:date-picker is not passed in the submit action:
<flux:date-picker name="start_date" :value="now()->format('Y-m-d')" />
Using flux:input works fine.
Data received in the Request:
Illuminate\Http\Request {50 ▼
InputBag
{51 ▼
#parameters: array:2 [▼
"_token" => "zdPooQ6yKWsel64KH4OwWguwcS6ovn0NgGkgPqiA"
"date_input" => "2025-02-28"
]
}
Code snippets
How do you expect it to work?
Expecting the value of date_pick is passed in the Submit form.
Please confirm (incomplete submissions will not be addressed)
The text was updated successfully, but these errors were encountered: