You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/design-angular-kit/src/lib/components/form/autocomplete/autocomplete.component.ts
+17-6Lines changed: 17 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -50,32 +50,43 @@ export class ItAutocompleteComponent extends ItAbstractFormComponent<string | nu
50
50
/**
51
51
* Function to set assistive hint label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
52
52
*/
53
-
@Input()assistiveHintLabel: ()=>string=undefined;
53
+
@Input()assistiveHintLabel: ()=>string=()=>
54
+
'Quando i risultati del completamento automatico sono disponibili, usa le frecce su e giù per rivedere e Invio per selezionare. Utenti di dispositivi touch, esplora tramite tocco o con gesti di scorrimento';
54
55
55
56
/**
56
57
* Function to set label in case of no result. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
* Function to set label that alerts you that query's too short. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
@Input()statusNoResultsLabel: ()=>string=()=>'Nessun risultato di ricerca';
69
71
70
72
/**
71
73
* Function to set selected option label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
`${selectedOption}${index+1} di ${length} è sottolineato`;
74
77
75
78
/**
76
79
* Function to set status results label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
0 commit comments