Commit cf25c7f5 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'fix-max-select' into 'master'

Remove max select for multiple assignees

Closes #2418

See merge request !1918
parents 5fa0ccc3 a8c5b62e
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
- options[:data][:multi_select] = true - options[:data][:multi_select] = true
- options[:data]['dropdown-title'] = title - options[:data]['dropdown-title'] = title
- options[:data]['dropdown-header'] = 'Assignee' - options[:data]['dropdown-header'] = 'Assignee'
- options[:data]['max-select'] = 1
- else - else
- title = 'Select assignee' - title = 'Select assignee'
......
describe('Sidebar', () => {
preloadFixtures('issues/open-issue.html.raw');
beforeEach(() => loadFixtures('issues/open-issue.html.raw'));
it('does not have a max select', () => {
const dropdown = document.querySelector('.js-author-search');
expect(dropdown.dataset.maxSelect).toBeUndefined();
});
});
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