2023-02-27 11:59:38 +01:00
|
|
|
class EditableChamp::AnnuaireEducationComponent < EditableChamp::ComboSearchComponent
|
2023-08-21 16:18:31 +02:00
|
|
|
def dsfr_input_classname
|
|
|
|
'fr-input'
|
|
|
|
end
|
2024-04-12 07:57:27 +02:00
|
|
|
|
|
|
|
def react_input_opts
|
|
|
|
opts = input_opts(id: @champ.input_id, required: @champ.required?, aria: { describedby: @champ.describedby_id })
|
|
|
|
opts[:className] = "#{opts.delete(:class)} fr-mt-1w"
|
|
|
|
|
|
|
|
opts
|
|
|
|
end
|
2022-08-12 10:45:04 +02:00
|
|
|
end
|