From 3e170c579b31923202cdfe9ae73d35ba4390809c Mon Sep 17 00:00:00 2001 From: Panjie Setiawan Wicaksono Date: Tue, 18 Oct 2016 22:44:01 +0700 Subject: [PATCH] ts def typo fix and addtions --- components/autocomplete/index.d.ts | 2 +- components/date_picker/index.d.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/autocomplete/index.d.ts b/components/autocomplete/index.d.ts index 2826c62d..b2c560d0 100644 --- a/components/autocomplete/index.d.ts +++ b/components/autocomplete/index.d.ts @@ -81,7 +81,7 @@ interface AutocompleteProps extends ReactToolbox.Props { * If true, the list of suggestions will not be filtered when a value is selected. * @default false */ - showSuggestionsWHenValueIsSet?: boolean; + showSuggestionsWhenValueIsSet?: boolean; /** * Object of key/values or array representing all items suggested. */ diff --git a/components/date_picker/index.d.ts b/components/date_picker/index.d.ts index aa9fc3f8..6a8ffe91 100644 --- a/components/date_picker/index.d.ts +++ b/components/date_picker/index.d.ts @@ -134,6 +134,10 @@ interface DatePickerProps extends ReactToolbox.Props { * Callback to be invoked when the dialog overlay is clicked. */ onOverlayClick?: Function; + /** + * The input element will be readonly and look like disabled. + */ + readonly?: boolean; /** * Classnames object defining the component style. */