Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3ad44c54
Commit
3ad44c54
authored
Aug 25, 2020
by
Robert Hunt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed dropdown_search_input clear button as it is never displayed
parent
46a82bda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
app/assets/javascripts/vue_shared/components/dropdown/dropdown_search_input.vue
.../vue_shared/components/dropdown/dropdown_search_input.vue
+0
-7
spec/frontend/vue_shared/components/dropdown/dropdown_search_input_spec.js
..._shared/components/dropdown/dropdown_search_input_spec.js
+0
-6
No files found.
app/assets/javascripts/vue_shared/components/dropdown/dropdown_search_input.vue
View file @
3ad44c54
...
@@ -41,12 +41,5 @@ export default {
...
@@ -41,12 +41,5 @@ export default {
autocomplete=
"off"
autocomplete=
"off"
/>
/>
<i
class=
"fa fa-search dropdown-input-search"
aria-hidden=
"true"
data-hidden=
"true"
>
</i>
<i
class=
"fa fa-search dropdown-input-search"
aria-hidden=
"true"
data-hidden=
"true"
>
</i>
<i
class=
"fa fa-times dropdown-input-clear js-dropdown-input-clear"
aria-hidden=
"true"
data-hidden=
"true"
role=
"button"
>
</i>
</div>
</div>
</
template
>
</
template
>
spec/frontend/vue_shared/components/dropdown/dropdown_search_input_spec.js
View file @
3ad44c54
...
@@ -32,12 +32,6 @@ describe('DropdownSearchInputComponent', () => {
...
@@ -32,12 +32,6 @@ describe('DropdownSearchInputComponent', () => {
expect
(
wrapper
.
find
(
'
.fa-search.dropdown-input-search
'
).
exists
()).
toBe
(
true
);
expect
(
wrapper
.
find
(
'
.fa-search.dropdown-input-search
'
).
exists
()).
toBe
(
true
);
});
});
it
(
'
renders clear search icon element
'
,
()
=>
{
expect
(
wrapper
.
find
(
'
.fa-times.dropdown-input-clear.js-dropdown-input-clear
'
).
exists
()).
toBe
(
true
,
);
});
it
(
'
displays custom placeholder text
'
,
()
=>
{
it
(
'
displays custom placeholder text
'
,
()
=>
{
expect
(
findInputEl
().
attributes
(
'
placeholder
'
)).
toBe
(
defaultProps
.
placeholderText
);
expect
(
findInputEl
().
attributes
(
'
placeholder
'
)).
toBe
(
defaultProps
.
placeholderText
);
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment