Date & Time Picker Dialog Tutorial in React Native (DateTimePicker)

preview_player
Показать описание
In this video we'll be looking at how we can create a Date Picker and a Time Picker in React Native in less than 8 minutes. The documentation can be found in the description down below!

► yarn add @react-native-community/datetimepicker
Рекомендации по теме
Комментарии
Автор

thank you so much for this amazing tutorial, really helpful

Sofien_Steve
Автор

Hi, for IOS device doesn't work!!

kadeus
Автор

Really appreciated, clear and functional, thank you!

salinasmaster
Автор

Got this error. value prop must be an instance of date object

steveaustin
Автор

Thank you 😢, just for context it works well in November 2022

kesterbelgrove
Автор

Man, that is awesome, you saved my day, thank you

parrou
Автор

@everyone Sir what is the purpose of

setshow(Platform.OS === "ios");

muhammadibrahimkhan
Автор

Thank you soo much for helping means a lot... : )

AbhishekSingh-rstx
Автор

hello sir, how can i change the default color

hamzaabdessadki
Автор

On click it's showing current date, how i can fixed that issue in my application?

shubbhumourya
Автор

setShow(true) but no false. modal is always on

Pham_Minh...
Автор

The time picker crashes the app when the cancel button is pressed. How do i fix this please?

ajalasegun
Автор

how can i style it? I haven't been able to change the colors or the width of the element

RaulPalma-fn
Автор

Great video! What Android emulator are you using there?

marcioferlan
Автор

Are there "ok" and "cancel" options by default? I'm not seeing them by me

UPDATE
use type default and you'll have ok and cancel. Otherwise you need to add on your own as far as I can tell.

robbyl
Автор

Is there a way to show the values selected in the place where the pickers are?

thiagog.q.
Автор

sir the method to avoid the day future after current day, could you show me ?

thanhtung
Автор

Thanks ! How change blue color in android ?

СергейСёмин-цж
Автор

i tried to follow the guide but my setShow seems to always set as true and cause the date picker to always pops up, can anyone help

alexanderkostylev
Автор

can we do both date and time at single click

manjunathamj