DatePickerWithInputProps interface
Signature
export interface DatePickerWithInputProps extends Omit<InputProps, 'ref' | 'value' | 'onChange'>
Import
import { DatePickerWithInputProps } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
closeOnSelect | boolean | Hide the calendar when date is selected |
minDate | Date | |
onChange | (value: Date | string) => void | |
placeholder | string | |
value | Date | string |
closeOnSelect property
Hide the calendar when date is selected
Signature
closeOnSelect?: boolean;
minDate property
Signature
minDate?: Date;
onChange property
Signature
onChange: (value: Date | string) => void;
placeholder property
Signature
placeholder?: string;
value property
Signature
value?: Date | string;