You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a select2 element with the tag option. When I use select2 'something', from: 'Something', tag: true I get the error:
Capybara::ElementNotFound:
Unable to find css ".select2-container--open input.select2-search__field" within #<Capybara::Node::Element tag="body" path="/HTML/BODY[1]">
When I look at the code on the page, the .select2-search__field element is a textarea rather than an input. I think that's reflected in the select2 code here
I think additional search input selectors are needed. If I add this before select2 call:
I'm using a select2 element with the tag option. When I use
select2 'something', from: 'Something', tag: true
I get the error:When I look at the code on the page, the
.select2-search__field
element is a textarea rather than an input. I think that's reflected in the select2 code hereI think additional search input selectors are needed. If I add this before
select2
call:The test runs without error.
The text was updated successfully, but these errors were encountered: