Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Formulaire de saisie] Label affiché en allemand pour le selecteur "matselect" si utilisé avec un filtre qui ne donne pas de résultat #2826

Closed
ahurabielle-picnat opened this issue Dec 13, 2023 · 0 comments

Comments

@ahurabielle-picnat
Copy link

Version
2.12.3

Description du bug
Si on utilise un menu déroulant MatSelect avec un filtre qui ne renvoie aucun résultat, le label par défaut est en allemand et renvoie Keine Optionen gefunden, ce qui veut dire aucune option trouvée.
Cela peut arriver par exemple dans les sous-modules "monitorings".
Ça serait bien d'avoir un affichage en français.

Problème identifié
Dans le fichier frontend/src/app/GN2CommonModule/form/datalist/datalist.component.html, ajouter la ligne suivante:

noEntriesFoundLabel="Aucun résultat"

juste en dessous de la ligne è placeholderLabel="Filtre" qui met bien le label du champ de recherche en français.
cf documentation : https://github.com/bithost-gmbh/ngx-mat-select-search#inputs

En effectuant ce correctif, j'ai bien ce que je souhaite après rebuild du frontend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants