fix(dropdown_multiple): options -> enabled_non_empty_options
This commit is contained in:
parent
234c6e6248
commit
198860d9f3
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