Commit f3faae74 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'settings-search-box-placeholder' into 'master'

Fix flashy search box when loading a settings page

See merge request gitlab-org/gitlab!52835
parents 27ce1a9d 7aac9de3
......@@ -118,12 +118,10 @@ export default {
};
</script>
<template>
<div class="gl-mt-5">
<gl-search-box-by-type
:value="searchTerm"
:debounce="$options.TYPING_DELAY"
:placeholder="__('Search settings')"
@input="search"
/>
</div>
</template>
- container_class = local_assigns.fetch(:container_class, 'gl-mt-5')
- if Feature.enabled?(:search_settings_in_page, @project, default_enabled: false)
%div{ class: container_class }
.js-search-settings-app
%input.gl-form-input.form-control{ type: "text", placeholder: _("Search settings"), aria_label: _("Search settings"), disabled: true }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment