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
parent
03b6c34a93
commit
7c4f295adb
|
@ -484,7 +484,7 @@ export interface DropdownProps {
|
||||||
emptyFilterMessage?: string | undefined;
|
emptyFilterMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
|
* 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;
|
emptyMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -333,7 +333,7 @@ export interface ListboxProps {
|
||||||
emptyFilterMessage?: string | undefined;
|
emptyFilterMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
|
* 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;
|
emptyMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -520,7 +520,7 @@ export interface MultiSelectProps {
|
||||||
emptyFilterMessage?: string | undefined;
|
emptyFilterMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
|
* 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;
|
emptyMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -213,7 +213,7 @@ export interface TreeSelectProps {
|
||||||
appendTo?: HintedString<'body' | 'self'> | undefined | HTMLElement;
|
appendTo?: HintedString<'body' | 'self'> | undefined | HTMLElement;
|
||||||
/**
|
/**
|
||||||
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
|
* 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;
|
emptyMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue