fix: Primefaces#5060, Dropdown: After selecting an option, clearing the value using close icon should clear the filter input (#5061)

* fix: Primefaces#5060, Dropdown: After selecting an option, clearing the value using close icon should clear the filter input

* fix: Primefaces#5060, Dropdown: After selecting an option, clearing the value using close icon should clear the filter input

---------

Co-authored-by: Akshay Antony <akshayantony55@gmail.com>
This commit is contained in:
akshayaqburst 2024-01-16 16:45:32 +05:30 committed by GitHub
parent 6b75f1a565
commit 6f71f8195e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 25 additions and 1 deletions

View file

@ -389,6 +389,11 @@ export interface DropdownProps {
* @defaultValue false
*/
resetFilterOnHide?: boolean;
/**
* Clears the filter value when clicking on the clear icon.
* @defaultValue false
*/
resetFilterOnClear?: boolean;
/**
* Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.
*/