Fix default values for emptyMessage on several components

Fixed the documented default value for the "emptyMessage" property for the Dropdown, Listbox, MultiSelect and TreeSelect components in the components' type definition files. I have changed the values from "No results found" to "No available options".
pull/5850/head
Neil Padfield 2024-06-07 14:47:40 +01:00
parent 03b6c34a93
commit 7c4f295adb
4 changed files with 4 additions and 4 deletions

View File

@ -484,7 +484,7 @@ export interface DropdownProps {
emptyFilterMessage?: string | undefined;
/**
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
* @defaultValue No results found
* @defaultValue No available options
*/
emptyMessage?: string | undefined;
/**

View File

@ -333,7 +333,7 @@ export interface ListboxProps {
emptyFilterMessage?: string | undefined;
/**
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
* @defaultValue No results found
* @defaultValue No available options
*/
emptyMessage?: string | undefined;
/**

View File

@ -520,7 +520,7 @@ export interface MultiSelectProps {
emptyFilterMessage?: string | undefined;
/**
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
* @defaultValue No results found'
* @defaultValue No available options
*/
emptyMessage?: string | undefined;
/**

View File

@ -213,7 +213,7 @@ export interface TreeSelectProps {
appendTo?: HintedString<'body' | 'self'> | undefined | HTMLElement;
/**
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
* @defaultValue No results found
* @defaultValue No available options
*/
emptyMessage?: string | undefined;
/**