DatePickerWithInputProps interface

Signature

  1. export interface DatePickerWithInputProps extends Omit<InputProps, 'ref' | 'value' | 'onChange'>

Import

  1. import { DatePickerWithInputProps } from '@grafana/ui';

Properties

PropertyTypeDescription
closeOnSelectbooleanHide the calendar when date is selected
minDateDate
onChange(value: Date | string) => void
placeholderstring
valueDate | string

closeOnSelect property

Hide the calendar when date is selected

Signature

  1. closeOnSelect?: boolean;

minDate property

Signature

  1. minDate?: Date;

onChange property

Signature

  1. onChange: (value: Date | string) => void;

placeholder property

Signature

  1. placeholder?: string;

value property

Signature

  1. value?: Date | string;