Datepicker - open popup on click input #695

Closed
opened 2026-01-29 17:41:42 +00:00 by claunia · 3 comments
Owner

Originally created by @johanpolak on GitHub (Jan 11, 2023).

Is your feature request related to a problem? Please describe.
We would like the popup for the datepicker to be opened on click of the input.

Describe the solution you'd like
The easiest way for us would be that the function 'getOpenPopupForInput' in RadzenDatePicker.razor.cs will be made virtual, so we can overwrite it in our application.

Originally created by @johanpolak on GitHub (Jan 11, 2023). **Is your feature request related to a problem? Please describe.** We would like the popup for the datepicker to be opened on click of the input. **Describe the solution you'd like** The easiest way for us would be that the function 'getOpenPopupForInput' in RadzenDatePicker.razor.cs will be made virtual, so we can overwrite it in our application.
Author
Owner

@enchev commented on GitHub (Jan 11, 2023):

You can simply add the following
image

@enchev commented on GitHub (Jan 11, 2023): You can simply add the following ![image](https://user-images.githubusercontent.com/5804953/211799001-49da1b5e-7bbe-4d06-baec-b023b04967f7.png)
Author
Owner

@johanpolak commented on GitHub (Jan 11, 2023):

Hi Vladimir,

That looks like a great solution! The only problem with this approach is
that the click on the button in the datepicker makes the panel appear and
directly disappear again. Any other suggestions?

Kind regards

@johanpolak commented on GitHub (Jan 11, 2023): Hi Vladimir, That looks like a great solution! The only problem with this approach is that the click on the button in the datepicker makes the panel appear and directly disappear again. Any other suggestions? Kind regards
Author
Owner

@johanpolak commented on GitHub (Jan 17, 2023):

@enchev This isn't a good solution. Any other ideas?

@johanpolak commented on GitHub (Jan 17, 2023): @enchev This isn't a good solution. Any other ideas?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#695