Merge pull request #7236 from mehdirande/type/autocomplete-chip-slot

Fix: Add removeCallback and index in Autocomplete chip slot definition
pull/7281/head
Tuğçe Küçükoğlu 2025-02-19 13:33:22 +03:00 committed by GitHub
commit 105c581e4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -582,6 +582,15 @@ export interface AutoCompleteSlots {
* A value in the selection
*/
value: any;
/**
* Index of the token.
*/
index: number;
/**
* Remove token icon function.
* @param {Event} event - Browser event
*/
removeCallback: (event: Event) => void;
}): VNode[];
/**
* Custom header template of panel.