From db195857850edd7bc658f30471728b45a3572539 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 3 Feb 2021 14:07:46 +0300 Subject: [PATCH] Fixed #933 - InputStyle and InputClass for AutoComplete, Calendar and Password --- src/components/autocomplete/AutoComplete.d.ts | 4 +++- src/components/autocomplete/AutoComplete.vue | 8 +++++--- src/components/calendar/Calendar.d.ts | 2 ++ src/components/calendar/Calendar.vue | 5 ++++- src/components/password/Password.d.ts | 2 ++ src/components/password/Password.vue | 8 +++++--- src/views/autocomplete/AutoCompleteDoc.vue | 12 ++++++++++++ src/views/calendar/CalendarDoc.vue | 12 ++++++++++++ src/views/password/PasswordDoc.vue | 12 ++++++++++++ 9 files changed, 57 insertions(+), 8 deletions(-) diff --git a/src/components/autocomplete/AutoComplete.d.ts b/src/components/autocomplete/AutoComplete.d.ts index 353c23743..e1d399c32 100755 --- a/src/components/autocomplete/AutoComplete.d.ts +++ b/src/components/autocomplete/AutoComplete.d.ts @@ -3,7 +3,7 @@ import Vue, { VNode } from 'vue'; declare class AutoComplete extends Vue { modelValue?: any; suggestions?: any[]; - field?: string|function; + field?: string|Function; scrollHeight?: string; dropdown?: boolean; dropdownMode?: string; @@ -11,6 +11,8 @@ declare class AutoComplete extends Vue { minLength?: number; delay?: number; appendTo?: string; + inputStyle?: any; + inputClass?: string; $emit(eventName: 'item-select', e: {originalEvent: Event, value: any}): this; $emit(eventName: 'item-unselect', e: {originalEvent: Event, value: any}): this; $emit(eventName: 'dropdown-click', e: {originalEvent: Event, query: string}): this; diff --git a/src/components/autocomplete/AutoComplete.vue b/src/components/autocomplete/AutoComplete.vue index 0ed5167ee..7ea5545b2 100755 --- a/src/components/autocomplete/AutoComplete.vue +++ b/src/components/autocomplete/AutoComplete.vue @@ -1,6 +1,6 @@