feat(champ): use new data-turbo-focus-group to manage focus on multiple drop down
This commit is contained in:
parent
5343c229a2
commit
f9b8dac024
3 changed files with 8 additions and 13 deletions
|
@ -3,7 +3,6 @@ class Champs::OptionsController < ApplicationController
|
|||
|
||||
def remove
|
||||
@champ = policy_scope(Champ).includes(:champs).find(params[:champ_id])
|
||||
@next_checkbox_id = @champ.next_checkbox_id(params[:option])
|
||||
@champ.remove_option([params[:option]].compact)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue