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

Fields with date have no time inputs. #885

Closed
bobdenotter opened this issue Jan 17, 2020 · 3 comments · Fixed by #890
Closed

Fields with date have no time inputs. #885

bobdenotter opened this issue Jan 17, 2020 · 3 comments · Fixed by #890
Labels
🐛 tag: bug This is a bug.

Comments

@bobdenotter
Copy link
Member

        foo:
            type: date
            mode: datetime

Should have time inputs, below the calendar

@eduardomart
Copy link
Contributor

eduardomart commented Sep 5, 2020

Hi,

I just tested this:

foo:
            type: date
            mode: datetime

No time input is shown.

Screen Shot 2020-09-04 at 11 02 34 PM

RC 41

@develth
Copy link
Contributor

develth commented Sep 9, 2020

@eduardomart

have the same issue.
While debugging the config seems good and enableTime is passed to flat-picker. Strange

@develth
Copy link
Contributor

develth commented Sep 9, 2020

Quick Fix:
Remove .showTimeInput so just &.hasTime is defined.

https://github.com/bolt/core/blob/master/assets/scss/vendor/flatpickr/flatpickr.scss#L96

develth added a commit to develth/core that referenced this issue Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 tag: bug This is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants