mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
79730: Add labels around FilterInputSuggestionsComponent inputs
This commit is contained in:
@@ -53,6 +53,11 @@ export class InputSuggestionsComponent implements ControlValueAccessor, OnChange
|
||||
*/
|
||||
@Input() valid = true;
|
||||
|
||||
/**
|
||||
* Label for the input field. Used for screen readers.
|
||||
*/
|
||||
@Input() label? = '';
|
||||
|
||||
/**
|
||||
* Output for when the form is submitted
|
||||
*/
|
||||
@@ -106,10 +111,10 @@ export class InputSuggestionsComponent implements ControlValueAccessor, OnChange
|
||||
@Input() disabled = false;
|
||||
propagateChange = (_: any) => {
|
||||
/* Empty implementation */
|
||||
}
|
||||
};
|
||||
propagateTouch = (_: any) => {
|
||||
/* Empty implementation */
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* When any of the inputs change, check if we should still show the suggestions
|
||||
|
Reference in New Issue
Block a user