-
Notifications
You must be signed in to change notification settings - Fork 79
[DatePicker]: Value disappear on blur with dddd, D MMMM YYYY format #2560
Copy link
Copy link
Closed
Labels
Description
Prerequisites (optional)
Selected value disappear on blur
Please answer the following questions for yourself before submitting an issue.
- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
Description (optional)
DatePicker lose value on blur
format: dddd, D MMMM YYYY
value: Thursday, 17 October 2024
Steps to Reproduce
<DatePicker
filter={(day: Dayjs) => {
const today = new Date();
return day.isAfter(today.setDate(today.getDate() - 1));
}}
mode="inline"
disableClear={false}
iconPosition="left"
format={"dddd, D MMMM YYYY"}
placeholder={t("form.placeholders.date")}
{...lens.prop("date").toProps()}
/>
- Choose date
- Focus on input field, do not change date
- Lose focus
Actual result
On blur value disappears
Expected result
On blur value is in the field
Environment
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- UUI version: 5.9.0-beta.0
- Browser name: chrome
- Operating System: Windows
discussed with @siarhei-epam
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Closed