Skip to content

Commit

Permalink
XWIKI-22579: Livedata filter selectize input for lists does not have …
Browse files Browse the repository at this point in the history
…a label (#3575)

* Added a way to retrieve the aria-label of the input to complete the control-input
  • Loading branch information
Sereza7 authored Dec 9, 2024
1 parent 723d20b commit b2360a6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ define('xwiki-selectize', [
}
// Set the title of the input field.
this.selectize.get$('control_input').attr('title', $(this).attr('title'));
// Set the text alternative of the input field.
this.selectize.get$('control_input').attr('aria-label', $(this).attr('aria-label'));
};

var setDropDownAlignment = function(selectize) {
Expand Down

0 comments on commit b2360a6

Please sign in to comment.