shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
75.29k stars 4.72k forks source link

[feat]: Request to Add Locale-Specific Date-Time Input Component #5224

Open M-Ahmed-dev opened 1 month ago

M-Ahmed-dev commented 1 month ago

Feature description

You guys have created whole library but there's no component that can replace the need to use native input type = "datetime-locale". There should be a similar component that let the user easily enter both a date and a time, including the year, month, and day as well as the time in hours and minutes.

Affected component/components

No response

Additional Context

Additional details here...

Before submitting

M-Ahmed-dev commented 1 month ago

Thank you man. Really appreciate it . 😊

carlos-lopez-SaRa commented 1 month ago

@huybuidac Have you seen any example of one like MUI's Date picker that allows the user to type out the whole date? https://mui.com/x/react-date-pickers/date-picker/

huybuidac commented 1 month ago

@huybuidac Have you seen any example of one like MUI's Date picker that allows the user to type out the whole date? https://mui.com/x/react-date-pickers/date-picker/

https://github.com/huybuidac/shadcn-datetime-picker

https://shadcn-datetime-picker-pro.vercel.app/?path=/story/datetimepicker--date-time-input-picker-in-form

https://github.com/user-attachments/assets/1a14076d-cff7-4068-af10-d61a2ff9284b

carlos-lopez-SaRa commented 1 month ago

Uh not sure what you're trying to link with a localhost url...

huybuidac commented 1 month ago

Uh not sure what you're trying to link with a localhost url...

updated bro