inline communes_component
This commit is contained in:
parent
f25c40ef1c
commit
daf2abe5a8
2 changed files with 6 additions and 2 deletions
|
@ -3,6 +3,12 @@
|
||||||
class EditableChamp::CommunesComponent < EditableChamp::EditableChampBaseComponent
|
class EditableChamp::CommunesComponent < EditableChamp::EditableChampBaseComponent
|
||||||
include ApplicationHelper
|
include ApplicationHelper
|
||||||
|
|
||||||
|
def call
|
||||||
|
tag.react_fragment do
|
||||||
|
render(ReactComponent.new("ComboBox/RemoteComboBox", **react_props))
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def dsfr_input_classname
|
def dsfr_input_classname
|
||||||
'fr-select'
|
'fr-select'
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
%react-fragment
|
|
||||||
= render ReactComponent.new "ComboBox/RemoteComboBox", **react_props
|
|
Loading…
Add table
Reference in a new issue