File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
components/dash-core-components/src/fragments Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ const DatePickerRange = ({
336336 id = { start_date_id || accessibleId }
337337 inputClassName = "dash-datepicker-input dash-datepicker-start-date"
338338 value = { startInputValue }
339- onChange = { e => setStartInputValue ( e . target . value ) }
339+ onChange = { e => setStartInputValue ( e . target ? .value ) }
340340 onKeyDown = { handleStartInputKeyDown }
341341 onFocus = { ( ) => {
342342 if ( isCalendarOpen ) {
@@ -357,7 +357,7 @@ const DatePickerRange = ({
357357 id = { end_date_id || accessibleId + '-end-date' }
358358 inputClassName = "dash-datepicker-input dash-datepicker-end-date"
359359 value = { endInputValue }
360- onChange = { e => setEndInputValue ( e . target . value ) }
360+ onChange = { e => setEndInputValue ( e . target ? .value ) }
361361 onKeyDown = { handleEndInputKeyDown }
362362 onFocus = { ( ) => {
363363 if ( isCalendarOpen ) {
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ const DatePickerSingle = ({
180180 id = { accessibleId }
181181 inputClassName = "dash-datepicker-input dash-datepicker-end-date"
182182 value = { inputValue }
183- onChange = { e => setInputValue ( e . target . value ) }
183+ onChange = { e => setInputValue ( e . target ? .value ) }
184184 onKeyDown = { handleInputKeyDown }
185185 placeholder = { placeholder }
186186 disabled = { disabled }
You can’t perform that action at this time.
0 commit comments