diff --git a/lib/classes/output/comboboxsearch.php b/lib/classes/output/comboboxsearch.php index 7bc92ee53f9..152ad8730be 100644 --- a/lib/classes/output/comboboxsearch.php +++ b/lib/classes/output/comboboxsearch.php @@ -124,7 +124,6 @@ class comboboxsearch implements renderable, templatable { */ public function export_for_template(renderer_base $output): array { return [ - 'rtl' => right_to_left(), 'renderlater' => $this->renderlater, 'buttoncontent' => $this->buttoncontent , 'dropdowncontent' => $this->dropdowncontent, diff --git a/lib/templates/comboboxsearch.mustache b/lib/templates/comboboxsearch.mustache index 7515278d7dc..94748e32370 100644 --- a/lib/templates/comboboxsearch.mustache +++ b/lib/templates/comboboxsearch.mustache @@ -19,7 +19,6 @@ Context variables required for this template: * name - The name of the input element representing the combobox. * value - The value of the input element representing the combobox. - * rtl - Is this dropdown being used in a RTL case? if so, we need to ensure it drops down in the right place. * renderlater - This determines if we show a placeholder whilst fetching content to replace within the placeholder region * buttoncontent - The string to be shown to users to trigger the dropdown * usebutton - If we want to use a button to trigger the dropdown, or just the dropdown itself @@ -33,7 +32,6 @@ { "name": "input-1", "value": "0", - "rtl": false, "renderlater": false, "usebutton": true, "buttoncontent": "Example dropdown button", @@ -66,7 +64,7 @@ {{^usebutton}}{{{buttoncontent}}}{{/usebutton}} -