diff --git a/api-generator/components/autocomplete.js b/api-generator/components/autocomplete.js index 50aca3b11..818b326d3 100644 --- a/api-generator/components/autocomplete.js +++ b/api-generator/components/autocomplete.js @@ -200,7 +200,7 @@ const AutoCompleteProps = [ { name: 'autoOptionFocus', type: 'boolean', - default: 'true', + default: 'false', description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.' }, { diff --git a/api-generator/components/cascadeselect.js b/api-generator/components/cascadeselect.js index 616661c15..091b7ed39 100644 --- a/api-generator/components/cascadeselect.js +++ b/api-generator/components/cascadeselect.js @@ -128,7 +128,7 @@ const CascadeSelectProps = [ { name: 'autoOptionFocus', type: 'boolean', - default: 'true', + default: 'false', description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.' }, { diff --git a/api-generator/components/dropdown.js b/api-generator/components/dropdown.js index 36b5e1a5f..79f8f1da0 100644 --- a/api-generator/components/dropdown.js +++ b/api-generator/components/dropdown.js @@ -200,7 +200,7 @@ const DropdownProps = [ { name: 'autoOptionFocus', type: 'boolean', - default: 'true', + default: 'false', description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.' }, { diff --git a/api-generator/components/listbox.js b/api-generator/components/listbox.js index ad63267b8..3385d2724 100644 --- a/api-generator/components/listbox.js +++ b/api-generator/components/listbox.js @@ -117,7 +117,7 @@ const ListboxProps = [ { name: 'autoOptionFocus', type: 'boolean', - default: 'true', + default: 'false', description: 'Whether to focus on the first visible or selected element.' }, { diff --git a/api-generator/components/multiselect.js b/api-generator/components/multiselect.js index 703f349a0..d552b28da 100644 --- a/api-generator/components/multiselect.js +++ b/api-generator/components/multiselect.js @@ -236,7 +236,7 @@ const MultiSelectProps = [ { name: 'autoOptionFocus', type: 'boolean', - default: 'true', + default: 'false', description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.' }, { diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts index 18f307b60..14d24a845 100755 --- a/components/lib/autocomplete/AutoComplete.d.ts +++ b/components/lib/autocomplete/AutoComplete.d.ts @@ -439,7 +439,7 @@ export interface AutoCompleteProps { virtualScrollerOptions?: VirtualScrollerProps; /** * Whether to focus on the first visible or selected element when the overlay panel is shown. - * @defaultValue true + * @defaultValue false */ autoOptionFocus?: boolean | undefined; /** diff --git a/components/lib/autocomplete/BaseAutoComplete.vue b/components/lib/autocomplete/BaseAutoComplete.vue index 000ce014d..779f5bfb9 100644 --- a/components/lib/autocomplete/BaseAutoComplete.vue +++ b/components/lib/autocomplete/BaseAutoComplete.vue @@ -127,7 +127,7 @@ export default { }, autoOptionFocus: { type: Boolean, - default: true + default: false }, selectOnFocus: { type: Boolean, diff --git a/components/lib/cascadeselect/BaseCascadeSelect.vue b/components/lib/cascadeselect/BaseCascadeSelect.vue index f569f2f58..33556e5e7 100644 --- a/components/lib/cascadeselect/BaseCascadeSelect.vue +++ b/components/lib/cascadeselect/BaseCascadeSelect.vue @@ -66,7 +66,7 @@ export default { }, autoOptionFocus: { type: Boolean, - default: true + default: false }, selectOnFocus: { type: Boolean, diff --git a/components/lib/cascadeselect/CascadeSelect.d.ts b/components/lib/cascadeselect/CascadeSelect.d.ts index 6dbc43382..a565736a7 100644 --- a/components/lib/cascadeselect/CascadeSelect.d.ts +++ b/components/lib/cascadeselect/CascadeSelect.d.ts @@ -335,7 +335,7 @@ export interface CascadeSelectProps { optionGroupIcon?: string | undefined; /** * Whether to focus on the first visible or selected element when the overlay panel is shown. - * @defaultValue true + * @defaultValue false */ autoOptionFocus?: boolean | undefined; /** diff --git a/components/lib/dropdown/BaseDropdown.vue b/components/lib/dropdown/BaseDropdown.vue index bd4168458..29738e548 100644 --- a/components/lib/dropdown/BaseDropdown.vue +++ b/components/lib/dropdown/BaseDropdown.vue @@ -116,7 +116,7 @@ export default { }, autoOptionFocus: { type: Boolean, - default: true + default: false }, autoFilterFocus: { type: Boolean, diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts index e301e1b14..a214573b9 100755 --- a/components/lib/dropdown/Dropdown.d.ts +++ b/components/lib/dropdown/Dropdown.d.ts @@ -400,7 +400,7 @@ export interface DropdownProps { virtualScrollerOptions?: VirtualScrollerProps; /** * Whether to focus on the first visible or selected element when the overlay panel is shown. - * @defaultValue true + * @defaultValue false */ autoOptionFocus?: boolean | undefined; /** diff --git a/components/lib/listbox/BaseListbox.vue b/components/lib/listbox/BaseListbox.vue index 7d2e93a4c..67e022626 100644 --- a/components/lib/listbox/BaseListbox.vue +++ b/components/lib/listbox/BaseListbox.vue @@ -45,7 +45,7 @@ export default { }, autoOptionFocus: { type: Boolean, - default: true + default: false }, selectOnFocus: { type: Boolean, diff --git a/components/lib/listbox/Listbox.d.ts b/components/lib/listbox/Listbox.d.ts index 45883b012..a3eed3b0a 100755 --- a/components/lib/listbox/Listbox.d.ts +++ b/components/lib/listbox/Listbox.d.ts @@ -293,7 +293,7 @@ export interface ListboxProps { virtualScrollerOptions?: VirtualScrollerProps; /** * Whether to focus on the first visible or selected element. - * @defaultValue true + * @defaultValue false */ autoOptionFocus?: boolean | undefined; /** diff --git a/components/lib/multiselect/BaseMultiSelect.vue b/components/lib/multiselect/BaseMultiSelect.vue index 5a5d1d820..99b5b5f58 100644 --- a/components/lib/multiselect/BaseMultiSelect.vue +++ b/components/lib/multiselect/BaseMultiSelect.vue @@ -125,7 +125,7 @@ export default { }, autoOptionFocus: { type: Boolean, - default: true + default: false }, autoFilterFocus: { type: Boolean, diff --git a/components/lib/multiselect/MultiSelect.d.ts b/components/lib/multiselect/MultiSelect.d.ts index 1fd033573..7bbecec15 100755 --- a/components/lib/multiselect/MultiSelect.d.ts +++ b/components/lib/multiselect/MultiSelect.d.ts @@ -470,7 +470,7 @@ export interface MultiSelectProps { virtualScrollerOptions?: VirtualScrollerProps; /** * Whether to focus on the first visible or selected element when the overlay panel is shown. - * @defaultValue true + * @defaultValue false */ autoOptionFocus?: boolean | undefined; /**