diff --git a/.changeset/new-ties-kiss.md b/.changeset/new-ties-kiss.md new file mode 100644 index 0000000..43b0765 --- /dev/null +++ b/.changeset/new-ties-kiss.md @@ -0,0 +1,5 @@ +--- +"@simsustech/quasar-components": patch +--- + +feat(FilteredModelSelect): add no-option template diff --git a/packages/components/src/ui/form/FilteredModelSelect.vue b/packages/components/src/ui/form/FilteredModelSelect.vue index b4de9ac..6d27eff 100644 --- a/packages/components/src/ui/form/FilteredModelSelect.vue +++ b/packages/components/src/ui/form/FilteredModelSelect.vue @@ -22,6 +22,13 @@ + diff --git a/packages/components/src/ui/form/lang/en-US.ts b/packages/components/src/ui/form/lang/en-US.ts index b9d56e8..44e7d8e 100644 --- a/packages/components/src/ui/form/lang/en-US.ts +++ b/packages/components/src/ui/form/lang/en-US.ts @@ -5,6 +5,7 @@ const lang: Language = { yes: 'Yes', no: 'No', selectMultiple: 'Select one or multiple', + noResultsAvailable: 'No results available.', buttons: { close: 'Close' }, diff --git a/packages/components/src/ui/form/lang/index.ts b/packages/components/src/ui/form/lang/index.ts index 3a5ba74..9131358 100644 --- a/packages/components/src/ui/form/lang/index.ts +++ b/packages/components/src/ui/form/lang/index.ts @@ -3,6 +3,7 @@ export interface Language { yes: string no: string selectMultiple: string + noResultsAvailable: string buttons: { close: string } diff --git a/packages/components/src/ui/form/lang/nl.ts b/packages/components/src/ui/form/lang/nl.ts index b52d0e4..4cf5fb1 100644 --- a/packages/components/src/ui/form/lang/nl.ts +++ b/packages/components/src/ui/form/lang/nl.ts @@ -5,6 +5,7 @@ const lang: Language = { yes: 'Ja', no: 'Nee', selectMultiple: 'Selecteer één of meerdere', + noResultsAvailable: 'Geen resultaten beschikbaar.', buttons: { close: 'Sluiten' },