Fix: Add removeCallback and index in Autocomplete chip slot definition

pull/7236/head
Mehdi Rande 2025-02-11 18:59:11 +01:00
parent 9e35aa1804
commit 5f4408d6df
1 changed files with 9 additions and 0 deletions

View File

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