File tree Expand file tree Collapse file tree
modules/wikis/app/forms/wikis Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,10 +33,7 @@ See COPYRIGHT and LICENSE files for more details.
3333 src: tree_src,
3434 include_sub_items_check_box_arguments: { hidden: true },
3535 filter_mode_control_arguments: logged? ? {} : { hidden: true },
36- filter_input_arguments: { name: "filter",
37- label: t(:label_filter),
38- visually_hide_label: true,
39- autofocus: true,
36+ filter_input_arguments: { autofocus: true,
4037 data: { test_selector: "op-header-project-select--search" } },
4138 no_results_node_arguments: { data: { test_selector: "op-header-project-select--no-results" },
4239 label: I18n.t("filterable_tree_view.no_results_text") }
Original file line number Diff line number Diff line change @@ -52,14 +52,6 @@ class CreateNewWikiPageForm < ApplicationForm
5252 filter_mode_control_arguments : { hidden : true } ,
5353 filter_input_arguments : {
5454 placeholder : I18n . t ( "wikis.link_existing_wiki_page_form.placeholder" ) ,
55- # every other property is just refilling the default values,
56- # as those are not merged into custom arguments
57- name : :filter ,
58- label : I18n . t ( :button_filter ) ,
59- type : :search ,
60- leading_visual : { icon : :search } ,
61- visually_hide_label : true ,
62- show_clear_button : true
6355 } ,
6456 include_sub_items_check_box_arguments : { hidden : true } ,
6557 no_results_node_arguments : { label : I18n . t ( "wikis.link_existing_wiki_page_form.no_results" ) }
Original file line number Diff line number Diff line change @@ -43,14 +43,6 @@ class LinkExistingWikiPageForm < ApplicationForm
4343 filter_mode_control_arguments : { hidden : true } ,
4444 filter_input_arguments : {
4545 placeholder : I18n . t ( "wikis.link_existing_wiki_page_form.placeholder" ) ,
46- # every other property is just refilling the default values,
47- # as those are not merged into custom arguments
48- name : :filter ,
49- label : I18n . t ( :button_filter ) ,
50- type : :search ,
51- leading_visual : { icon : :search } ,
52- visually_hide_label : true ,
53- show_clear_button : true
5446 } ,
5547 include_sub_items_check_box_arguments : { hidden : true } ,
5648 no_results_node_arguments : { label : I18n . t ( "wikis.link_existing_wiki_page_form.no_results" ) }
You can’t perform that action at this time.
0 commit comments