React-native-paper: Pickers

Created on 19 Oct 2016  路  10Comments  路  Source: callstack/react-native-paper

MD Docs Link
We will need an IOS developer for this one to be implemented on IOS

Stale low priority

Most helpful comment

This should be implemented in JS

All 10 comments

This should be implemented in JS

Would be nice to have some docs on how to do this.

+1 looking for date pickers...but it looks like material design has removed it from standard components?

The closest one is https://github.com/mmazzarolo/react-native-modal-datetime-picker, but it actually just use the android native picker (which of course follows the guide)

I am also using the one @marsonmao mentioned. It works just fine for both OS. I don't think there is MD specifications for this. What can be done is to create a component using a TextInput and when clicked it opens the picker. That's what I have done in my project

Hello everyone!
This is a simple example

@ahce That's what I do right now. But in your example there is a problem. If it is a date picker you can't print the time in the input. Just a few things that we should be careful about.

@luissmg In the example, I just want to show, how to make the material style.
The text can be formatted by the mode or prop with moment or date-fns.

I think that this component should be included in react-native-paper

Sure, I just wanted to point out that :) like I told you, I do pretty much the same as your example!
But I think this is a thing that the guys from Paper should decide. I mean, this is another dependency for the project, I don't know if they want this.

What you think @satya164?

Hello 馃憢, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ButuzGOL picture ButuzGOL  路  4Comments

sm2017 picture sm2017  路  4Comments

talaikis picture talaikis  路  3Comments

zachariahtimothy picture zachariahtimothy  路  3Comments

alikazemkhanloo picture alikazemkhanloo  路  4Comments