Date & Time Picker Dialog Tutorial in React Native (DateTimePicker)
HTML-код
- Опубликовано: 12 июл 2021
- 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
► Documentation: github.com/react-native-datet...
Really appreciated, clear and functional, thank you!
thank you so much for this amazing tutorial, really helpful
Man, that is awesome, you saved my day, thank you
thanks for this! super useful
Awesome! Thank you very much =)
Thank you soo much for helping means a lot... : )
Thanks for sharing!
Is there a way to show the values selected in the place where the pickers are?
thank you
Hi, for IOS device doesn't work!!
Thank you 😢, just for context it works well in November 2022
Did you tested on both ios and android?
thanku so much upload this video
Great video! What Android emulator are you using there?
Parabéns pelo Vídeo. poderia da um exemplo caso precisar de 2 botoes [ INICIO ] - [ FIM ] ?
hello sir, how can i change the default color
can we do both date and time at single click
can you set a minimum/max time?
The time picker crashes the app when the cancel button is pressed. How do i fix this please?
Amazing Tanks :-)
sir the method to avoid the day future after current day , could you show me ?
How to i store datepicker state into sqlite?
On click it's showing current date, how i can fixed that issue in my application?
Thanks ! How change blue color in android ?
Got this error. value prop must be an instance of date object
@everyone Sir what is the purpose of
setshow(Platform.OS === "ios");
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.
Hey i have this bug with the where the value is being called repeatedly even when in the calendar and im trying to change the date so it keep going back to todays date how can i fix this?
i have the same problem, how you can solve this?
will this work on web?
Thanku
How to make timepicker in bottom sheet
Can we remove Minutes
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
i am facing the same problem, it is shown whenever i refresh the code
@@amishaarora4101 its the setshow(Platform.OS === "ios"); in onChange() replace the line with setshow(false)
setShow(true) but no false. modal is always on
Can you also make a video on telegram bot how to make kick ban mute or welcome new user in the group commands tutorial?
why you didnt put this code?
const showDatepicker = () => {
showMode('date');
};
hello...when I have press ok button, it will give some error please help me..
We’re sorry to hear that you’re facing trouble with this tutorial. We have some recommendations for you.
- First, try watching the tutorial again to check if you missed something (remember that programming languages are strict, and that uppercase & lowercase characters are completely different.)
- Second, if you’re facing an error, try copying and pasting it into the Google search engine, it’s the fastest way to find the best response for the issue you are facing.
- Third, if it’s still too confusing for you, try taking a step back and working on an easier project to try to improve your programming skills before tackling the project in this video.
We wish you the best of luck with your project!
come on man.. at least bother to write what error you are getting...you will never get any help with "some error, please help!".. Publisher is kind enough and still replied
come on man.. at least bother to write what error you are getting...you will never get any help with "some error, please help!".. Publisher is kind enough and still replied eventhough you don't deserve one.
no sirve bro ya lo hice al pie de la letra y no me sale nada solo los botones nada que ver con lo que sale en el video
estoy en react native expo
Thats literally the Expo community example page of how to implement it...... (But this time is the react native community component)
I don't make up the implementation. I actually read the docs first.
You sound like Boyka