Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dateTime & calendardDay fields have no date picker #2185

Closed
sinbargit opened this issue Jan 5, 2020 · 5 comments
Closed

dateTime & calendardDay fields have no date picker #2185

sinbargit opened this issue Jan 5, 2020 · 5 comments

Comments

@sinbargit
Copy link

sinbargit commented Jan 5, 2020

Bug report

As the doc descripte :

select Generates a drop-down menu that allows the user to select a value from a list
auto Will generate a select if the range is 50 or less, otherwise will generate an input

But after I set the config below, there is still just a input component

posted: {
            type: DateTime, format: 'DD/MM/YYYY h:mm A',
            yearRangeFrom: 2020,
            yearRangeTo: 2030,
            yearPickerType: 'select',
        },

The screenshot is
ss

@wesbos
Copy link
Contributor

wesbos commented Jan 8, 2020

I asked them about this and apparently it's supposed to just be a text input. Would love if this used a date input

@sinbargit
Copy link
Author

I asked them about this and apparently it's supposed to just be a text input. Would love if this used a date input

I am confused. Why the document said:

select Generates a drop-down menu that allows the user to select a value from a list
auto Will generate a select if the range is 50 or less, otherwise will generate an input

What's that mean?

@AllanFerencz
Copy link

I'm also not sure what the documentation is referring to here 🤔

@MadeByMike
Copy link
Contributor

I'll look at the docs but until then I wanted to give an update: We're actively working on #2922 which includes a better date-picker option.

We'd love reviews comments and contributions to that PR.

@MadeByMike MadeByMike changed the title datetime component has no drop-down menu dateTime & calendardDay fields have no date picker Jun 3, 2020
@MadeByMike
Copy link
Contributor

Realising now this is also a duplicate of #215 - since this is the oldest issue I think it's best captured there. I'll update and cross link all relevant issues but this can mostly be tracked in the PR now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants