Refactor #3832 Refactor #3833 - For AutoComplete

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-04 15:38:11 +03:00
parent 78d4e84c0b
commit 9bc6ca49ca
3 changed files with 64 additions and 14 deletions

View file

@ -161,12 +161,30 @@ const AutoCompleteProps = [
default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
},
{
name: 'dropdownIcon',
type: 'string',
default: 'null',
description: 'Icon to display in the dropdown.'
},
{
name: 'dropdownClass',
type: 'string',
default: 'null',
description: 'Style class of the dropdown button.'
},
{
name: 'loadingIcon',
type: 'string',
default: 'pi pi-spinner',
default: 'null',
description: 'Icon to display in loading state.'
},
{
name: 'removeTokenIcon',
type: 'string',
default: 'null',
description: 'Icon to display in chip remove action.'
},
{
name: 'virtualScrollerOptions',
type: 'object',
@ -396,6 +414,18 @@ const AutoCompleteSlots = [
{
name: 'empty',
description: 'Custom empty template when there is no data to display.'
},
{
name: 'dropdownicon',
description: 'Custom dropdown icon template.'
},
{
name: 'removetokenicon',
description: 'Custom remove token icon template.'
},
{
name: 'loadingicon',
description: 'Custom loading icon template.'
}
];