Merge branch 'main' into fix-experts-lookup
This commit is contained in:
commit
38837443aa
2 changed files with 8 additions and 0 deletions
|
@ -94,6 +94,8 @@ class Champ < ApplicationRecord
|
|||
case type_de_champ.type_champ
|
||||
when TypeDeChamp.type_champs.fetch(:carte)
|
||||
geo_areas.blank? || value == '[]'
|
||||
when TypeDeChamp.type_champs.fetch(:multiple_drop_down_list)
|
||||
value.blank? || value == '[]'
|
||||
else
|
||||
value.blank?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue