mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
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".
This commit is contained in:
parent
03b6c34a93
commit
7c4f295adb
4 changed files with 4 additions and 4 deletions
2
components/lib/dropdown/Dropdown.d.ts
vendored
2
components/lib/dropdown/Dropdown.d.ts
vendored
|
@ -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;
|
||||
/**
|
||||
|
|
2
components/lib/listbox/Listbox.d.ts
vendored
2
components/lib/listbox/Listbox.d.ts
vendored
|
@ -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;
|
||||
/**
|
||||
|
|
2
components/lib/multiselect/MultiSelect.d.ts
vendored
2
components/lib/multiselect/MultiSelect.d.ts
vendored
|
@ -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;
|
||||
/**
|
||||
|
|
2
components/lib/treeselect/TreeSelect.d.ts
vendored
2
components/lib/treeselect/TreeSelect.d.ts
vendored
|
@ -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;
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue