Merge pull request #10609 from tchak/champs-selection-multiple-combobox

Utiliser les nouvelles combobox pour les champs de sélection multiple
This commit is contained in:
Paul Chavard 2024-07-16 13:17:41 +00:00 committed by GitHub
commit be83f2c7d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 80 additions and 66 deletions

View file

@ -73,7 +73,7 @@ class Champs::MultipleDropDownListChamp < Champ
end
def value=(value)
return super(nil) if value.nil?
return super(nil) if value.blank?
values = if value.is_a?(Array)
value