alibaba-fusion / next

🦍 A configurable component library for web built on React.
https://fusion.design
MIT License
4.59k stars 590 forks source link

[DatePicker2]Input DatePicker is not work correctly with "enter" #4896

Closed vuquangthinh closed 3 weeks ago

vuquangthinh commented 3 months ago

Component

DatePicker2

Reproduction link

https://gist.github.com/vuquangthinh/f7e9918a426e97989145b277160331c1

Steps to reproduce

I write above of code, Type "12/02/2023". as expect (format DD/MM/YYYY) Press enter to update Expect: close datepicker modal and keep value input: 12/02/2023 Actual: it convert to 02/12/2023

github-actions[bot] commented 3 months ago

这是您为 Fusion/Next 提的第一个 issue,感谢您对 Fusion 的信任和支持,我们会尽快进行处理。

eternalsky commented 3 months ago

复现 demo:https://codesandbox.io/p/sandbox/fusion-yan-zheng-forked-jv5tyy?file=%2Fsrc%2Findex.js%3A17%2C24