Skip to content

Specify the default date when showTimeSelectOnly is at true and default falute is null #6032

@Elanis

Description

@Elanis

Hi there,

It seems like the feature doesn't exist but feel free to correct me if I'm wrong!

Feature description:

I have a DatePicker with showTimeSelectOnly at true, and no default value. I can't set a default value since null has a meaning in my app and it has to stay at null until the user set a time.
I would like to be able to set a default date (e.g. 2025-11-01) that would be set when we choose a time. For the moment being, if I choose a time (e.g: 09:06), it will choose this hour in the current day (in the example, that would be 2025-13-11 09:06:00 instead of the 2025-11-01 09:06:00 I need).

Is there a way to specify the Date, or a way to add this feature?

Thanks,
Elanis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions