File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
shared/components/dateRangePicker
visualization/components/internal Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ interface Props {
3636 maxDate ?: string
3737 minDate ?: string
3838 onSelectDate : ( date : string ) => void
39- onInvalidInput ? : ( ) => void
39+ onInvalidInput : ( ) => void
4040}
4141
4242interface State {
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ interface TimeTickInputProps {
4343 update : ( data : any ) => void
4444}
4545
46+ const noOp = ( ) => { }
47+
4648export const TimeTickInput : FC < TimeTickInputProps > = props => {
4749 const {
4850 axisName,
@@ -198,6 +200,7 @@ export const TimeTickInput: FC<TimeTickInputProps> = props => {
198200 dateTime = { getDatePickerDateTime ( ) }
199201 onSelectDate = { handleSelectDate }
200202 label = "Start Tick Marks At"
203+ onInvalidInput = { noOp }
201204 />
202205 </ div >
203206 < Button
You can’t perform that action at this time.
0 commit comments