Fixed #5096 - autoOptionFocus default type is changed as false

pull/5110/head
tugcekucukoglu 2024-01-17 12:44:08 +03:00
parent 594eef2ca1
commit 1a048a0fd1
15 changed files with 15 additions and 15 deletions

View File

@ -200,7 +200,7 @@ const AutoCompleteProps = [
{ {
name: 'autoOptionFocus', name: 'autoOptionFocus',
type: 'boolean', type: 'boolean',
default: 'true', default: 'false',
description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.' description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.'
}, },
{ {

View File

@ -128,7 +128,7 @@ const CascadeSelectProps = [
{ {
name: 'autoOptionFocus', name: 'autoOptionFocus',
type: 'boolean', type: 'boolean',
default: 'true', default: 'false',
description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.' description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.'
}, },
{ {

View File

@ -200,7 +200,7 @@ const DropdownProps = [
{ {
name: 'autoOptionFocus', name: 'autoOptionFocus',
type: 'boolean', type: 'boolean',
default: 'true', default: 'false',
description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.' description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.'
}, },
{ {

View File

@ -117,7 +117,7 @@ const ListboxProps = [
{ {
name: 'autoOptionFocus', name: 'autoOptionFocus',
type: 'boolean', type: 'boolean',
default: 'true', default: 'false',
description: 'Whether to focus on the first visible or selected element.' description: 'Whether to focus on the first visible or selected element.'
}, },
{ {

View File

@ -236,7 +236,7 @@ const MultiSelectProps = [
{ {
name: 'autoOptionFocus', name: 'autoOptionFocus',
type: 'boolean', type: 'boolean',
default: 'true', default: 'false',
description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.' description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.'
}, },
{ {

View File

@ -439,7 +439,7 @@ export interface AutoCompleteProps {
virtualScrollerOptions?: VirtualScrollerProps; virtualScrollerOptions?: VirtualScrollerProps;
/** /**
* Whether to focus on the first visible or selected element when the overlay panel is shown. * Whether to focus on the first visible or selected element when the overlay panel is shown.
* @defaultValue true * @defaultValue false
*/ */
autoOptionFocus?: boolean | undefined; autoOptionFocus?: boolean | undefined;
/** /**

View File

@ -127,7 +127,7 @@ export default {
}, },
autoOptionFocus: { autoOptionFocus: {
type: Boolean, type: Boolean,
default: true default: false
}, },
selectOnFocus: { selectOnFocus: {
type: Boolean, type: Boolean,

View File

@ -66,7 +66,7 @@ export default {
}, },
autoOptionFocus: { autoOptionFocus: {
type: Boolean, type: Boolean,
default: true default: false
}, },
selectOnFocus: { selectOnFocus: {
type: Boolean, type: Boolean,

View File

@ -335,7 +335,7 @@ export interface CascadeSelectProps {
optionGroupIcon?: string | undefined; optionGroupIcon?: string | undefined;
/** /**
* Whether to focus on the first visible or selected element when the overlay panel is shown. * Whether to focus on the first visible or selected element when the overlay panel is shown.
* @defaultValue true * @defaultValue false
*/ */
autoOptionFocus?: boolean | undefined; autoOptionFocus?: boolean | undefined;
/** /**

View File

@ -116,7 +116,7 @@ export default {
}, },
autoOptionFocus: { autoOptionFocus: {
type: Boolean, type: Boolean,
default: true default: false
}, },
autoFilterFocus: { autoFilterFocus: {
type: Boolean, type: Boolean,

View File

@ -400,7 +400,7 @@ export interface DropdownProps {
virtualScrollerOptions?: VirtualScrollerProps; virtualScrollerOptions?: VirtualScrollerProps;
/** /**
* Whether to focus on the first visible or selected element when the overlay panel is shown. * Whether to focus on the first visible or selected element when the overlay panel is shown.
* @defaultValue true * @defaultValue false
*/ */
autoOptionFocus?: boolean | undefined; autoOptionFocus?: boolean | undefined;
/** /**

View File

@ -45,7 +45,7 @@ export default {
}, },
autoOptionFocus: { autoOptionFocus: {
type: Boolean, type: Boolean,
default: true default: false
}, },
selectOnFocus: { selectOnFocus: {
type: Boolean, type: Boolean,

View File

@ -293,7 +293,7 @@ export interface ListboxProps {
virtualScrollerOptions?: VirtualScrollerProps; virtualScrollerOptions?: VirtualScrollerProps;
/** /**
* Whether to focus on the first visible or selected element. * Whether to focus on the first visible or selected element.
* @defaultValue true * @defaultValue false
*/ */
autoOptionFocus?: boolean | undefined; autoOptionFocus?: boolean | undefined;
/** /**

View File

@ -125,7 +125,7 @@ export default {
}, },
autoOptionFocus: { autoOptionFocus: {
type: Boolean, type: Boolean,
default: true default: false
}, },
autoFilterFocus: { autoFilterFocus: {
type: Boolean, type: Boolean,

View File

@ -470,7 +470,7 @@ export interface MultiSelectProps {
virtualScrollerOptions?: VirtualScrollerProps; virtualScrollerOptions?: VirtualScrollerProps;
/** /**
* Whether to focus on the first visible or selected element when the overlay panel is shown. * Whether to focus on the first visible or selected element when the overlay panel is shown.
* @defaultValue true * @defaultValue false
*/ */
autoOptionFocus?: boolean | undefined; autoOptionFocus?: boolean | undefined;
/** /**