Merge pull request #9675 from tchak/fix-multiple-dropdown-options
fix(dropdown_multiple): options -> enabled_non_empty_options
This commit is contained in:
commit
a65aba521e
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Champs::MultipleDropDownListChamp < Champ
|
|||
end
|
||||
|
||||
def focusable_input_id
|
||||
render_as_checkboxes? ? checkbox_id(options.find(&:present?)) : input_id
|
||||
render_as_checkboxes? ? checkbox_id(enabled_non_empty_options.first) : input_id
|
||||
end
|
||||
|
||||
def checkbox_id(value)
|
||||
|
|
Loading…
Reference in a new issue