Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePicker placeholder option doesn't work in multiple mode #48461

Closed
nova1751 opened this issue Apr 15, 2024 · 1 comment · Fixed by #48387
Closed

DatePicker placeholder option doesn't work in multiple mode #48461

nova1751 opened this issue Apr 15, 2024 · 1 comment · Fixed by #48387

Comments

@nova1751
Copy link
Contributor

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Set DatePicker component multiple attribute to be true, you'll find that the placeholder doesn't display.

What is expected?

The placeholder display normally.

What is actually happening?

The placeholder didn't display.

Environment Info
antd 5.16.2
React 18.2.0
System MACOS 14.4.1
Browser Edge 123.0.2420.97
@nova1751
Copy link
Contributor Author

nova1751 commented Apr 15, 2024

Related to #47665 #48387 react-component/picker#768. Since this issue has been existing for a while and hasn't get reply, I created this issue to discuss about this problem. I've created two pull requests to solve this problem, but I don't know if my code change is reasonable. Can anyone give me some advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant