-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
[fix #21][close #20][close #16] Before this commit `select2` helper was failing with ``` Unable to find css ".select2-results .select2-results__option[role='treeitem']" ```
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ def search_input_selector(select2_version) | |
OptionSelectors = { | ||
'2' => ".select2-container-active .select2-result", | ||
'3' => ".select2-drop-active .select2-result-label", | ||
'4' => ".select2-results .select2-results__option[role='treeitem']" | ||
'4' => ".select2-results .select2-results__option[aria-selected='false']" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
MatthewKennedy
|
||
}.freeze | ||
|
||
def option_selector(select2_version) | ||
|
@Hirurg103 This change caused my tests to start failing because it no longer allows selecting an option that is already selected 😢 Do we really need to be so restrictive?