This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 146
[BUG] DatePickerSingle broken in Dash 1.3.0 #652
Labels
Milestone
Comments
@Marc-Andre-Rivet I can reproduce the problem, candidate for patch from datetime import datetime, timedelta
import dash
from dash.dependencies import Input, Output
import dash_html_components as html
import dash_core_components as dcc
app = dash.Dash(__name__)
app.layout = html.Div([
html.Label('Operating Date'),
dcc.DatePickerSingle(
id='operating-date-picker',
min_date_allowed=datetime(2010, 1, 1),
max_date_allowed=datetime(2099,12,31),
initial_visible_month=datetime.today().date() - timedelta(days=1),
date=datetime.today().date()- timedelta(days=1),
day_size=47,
),
], style={'width' : '10%',
'display': 'inline-block',
'marginLeft' :10,
'marginRight':10,
'marginBottom':10})
if __name__ == "__main__":
app.run_server(debug=True) |
Seems linked with the ramda update from 0.24 to 0.26 (Notes from 0.25 release: ramda/ramda#2319)
I can't explain right now why the builds have passed in CI atm. |
Marc-Andre-Rivet
added
dash-stage-in_progress
dash-stage-in_review
and removed
dash-stage-in_progress
labels
Sep 18, 2019
@Marc-Andre-Rivet I'm investigating the build history, might relates to the same issue as in |
Wow that was quick! |
@davidghill The regression fix has been released. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Describe your context
I'm running an app that allows the user to select options and kick off a process. The code for the control is below:
pip list | grep dash
belowif frontend related, tell us your Browser, Version and OS
Describe the bug
When you click on the date picker, the application crashes with the message listed under the screenshots section.
Expected behavior
Clicking on the datepicker control should bring up the ability to select a date.
Screenshots
(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser's console.)
TypeError: Cannot read property 'has' of undefined
The text was updated successfully, but these errors were encountered: