Merge pull request #6414 from avramz/fix/multiselect-selection-message-locale
#6303 fix: Multiselect - correctly default to locale when selectedItemsLabel…pull/6354/head^2
commit
41b6b9e0a7
|
@ -40672,7 +40672,7 @@
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "'{0} items selected'",
|
"default": "'{0} items selected'",
|
||||||
"description": "Label to display after exceeding max selected labels."
|
"description": "Label to display after exceeding max selected labels. Defaults to value from PrimeVue locale configuration."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "maxSelectedLabels",
|
"name": "maxSelectedLabels",
|
||||||
|
@ -95508,4 +95508,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -165,7 +165,7 @@ const MultiSelectProps = [
|
||||||
name: 'selectedItemsLabel',
|
name: 'selectedItemsLabel',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '{0} items selected',
|
default: '{0} items selected',
|
||||||
description: 'Label to display after exceeding max selected labels.'
|
description: 'Label to display after exceeding max selected labels. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'maxSelectedLabels',
|
name: 'maxSelectedLabels',
|
||||||
|
|
|
@ -76,7 +76,7 @@ export default {
|
||||||
},
|
},
|
||||||
selectedItemsLabel: {
|
selectedItemsLabel: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '{0} items selected'
|
default: null
|
||||||
},
|
},
|
||||||
maxSelectedLabels: {
|
maxSelectedLabels: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
|
|
@ -429,7 +429,7 @@ export interface MultiSelectProps {
|
||||||
display?: 'comma' | 'chip' | undefined;
|
display?: 'comma' | 'chip' | undefined;
|
||||||
/**
|
/**
|
||||||
* Label to display after exceeding max selected labels.
|
* Label to display after exceeding max selected labels.
|
||||||
* @defaultValue '{0} items selected'
|
* @defaultValue 'null'
|
||||||
*/
|
*/
|
||||||
selectedItemsLabel?: string | undefined;
|
selectedItemsLabel?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
@ -520,7 +520,7 @@ export interface MultiSelectProps {
|
||||||
filterMessage?: string | undefined;
|
filterMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration.
|
* Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration.
|
||||||
* @defaultValue '{0} items selected'
|
* @defaultValue 'null'
|
||||||
*/
|
*/
|
||||||
selectionMessage?: string | undefined;
|
selectionMessage?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue