How to Customize the Shadcn UI Date Picker

  Рет қаралды 3,880

Cand Dev

Cand Dev

Күн бұрын

Пікірлер: 20
@kismatkc4245
@kismatkc4245 2 ай бұрын
such a coincidence was just about to see the doc of the date picker to modify the component.You saved me a lot of time.Thanks mate
@GuilhermeMuller-js5me
@GuilhermeMuller-js5me 2 ай бұрын
Thanks mate! I was looking for this for almost a week.
@VueWay
@VueWay Ай бұрын
Can't thank you enough, you've got a new subscriber.
@CandDev
@CandDev Ай бұрын
thank you.
@imwithyou8429
@imwithyou8429 Ай бұрын
hey same here also, thanks for this amazing component
@nomxxn
@nomxxn Ай бұрын
Was lookin for this, thanks brother!
@tauhid97k
@tauhid97k 2 ай бұрын
Amazing. Just what I needed. Thanks.
@HeshamEldawy-ng9hf
@HeshamEldawy-ng9hf 2 ай бұрын
you saved me 4 hrs of search
@farkhanmhd
@farkhanmhd 2 ай бұрын
Thank you very much!
@CandDev
@CandDev 2 ай бұрын
You're welcome bro
@aleksandarilic6014
@aleksandarilic6014 2 ай бұрын
Nice🎉 Is there some option to enter date like a string in input field? That option could be very usefull for QA. So user can type like "1999-10-24"?
@andreferb
@andreferb Ай бұрын
Muito obrigado, amigo!!!!
@CandDev
@CandDev Ай бұрын
De nada, amigo! Fico feliz em ajudar!
@andrxpie
@andrxpie Ай бұрын
but how to collect date from it?
@abdulrafay1951
@abdulrafay1951 2 ай бұрын
Nice
@MsVcabezos
@MsVcabezos 2 ай бұрын
what? not at all, you only click on the month name, and year will appear to select....
@CandDev
@CandDev 2 ай бұрын
No, it doesn’t work for the default date picker shadcn
@markdavesoriano9083
@markdavesoriano9083 2 ай бұрын
Uncontrolled state from the form will be overridden. And upon onSubmit the form will not detect the value from the datepicker. Work around is just use the [date, setDate] and pass it as a prop into the custom date-picker. Prove me otherwise.
@markdavesoriano9083
@markdavesoriano9083 2 ай бұрын
another workaround is pass the form as the prop and replace the useState using the form setValue / getValue
@cant_sleeeep
@cant_sleeeep Ай бұрын
if we are using server actions we can get data with formData.get otherwise yes we would have to use props
How to generate a PDF from a React component
10:48
Cand Dev
Рет қаралды 16 М.
How to Create a Date and Time Picker Form | Next.js & Shadcn
23:07
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
What do we cover in the masterclass? | Chapter 7 | Lightning Web Components
4:31
How to Open a Dialog from a Dropdown Menu using shadcn/ui
14:25
Hosna Qasmei
Рет қаралды 8 М.
This UI Library feels like Shadcn 2.0
6:32
Tobi Tackles Tech
Рет қаралды 50 М.
Building an Interactive Calendar with Tailwind UI, React and date-fns
23:48
Shadcn ui calendar is BROKEN.. let's fix it!
20:30
WebDevEducation
Рет қаралды 11 М.
Shadcn datepicker - add "close on date select" functionality
4:06
WebDevEducation
Рет қаралды 715
The NEW shadcn/ui Sidebars Are Awesome
11:19
Jolly Coding
Рет қаралды 23 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН