Replies: 1 comment 1 reply
-
You can add this attribute: <FluentDatePicker Label="End Date" Style="width:100%;" @bind-Value="@Content.end_date_leave" @bind-Value:after="@OnEndDateSelected" /> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
`
<FluentDatePicker Label="End Date" Style="width:100%;" @bind-Value="@Content.end_date_leave" />
private async Task OnEndDateSelected() { if (Content.start_date_leave != null && Content.end_date_leave != null) { Content.total_days = (Content.end_date_leave - Content.start_date_leave).Value.Days.ToString(); } }
Please help me:
How to make Date picker like this.
When user selected a value for the end date, then go directly to the OnEndDateSelected function
Beta Was this translation helpful? Give feedback.
All reactions