From 6380859668a077d4c788a509d5b73bf049b15d60 Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Wed, 11 Oct 2023 17:11:44 +0200 Subject: [PATCH] Update app/models/type_de_champ.rb Co-authored-by: Paul Chavard --- app/models/type_de_champ.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/type_de_champ.rb b/app/models/type_de_champ.rb index f2021ed95..119162d91 100644 --- a/app/models/type_de_champ.rb +++ b/app/models/type_de_champ.rb @@ -502,7 +502,7 @@ class TypeDeChamp < ApplicationRecord APIGeoService.regions.map { [_1[:name], _1[:code]] } elsif choice_type? if drop_down_list_options? - options[:drop_down_options] + enabled_non_empty_options elsif yes_no? Champs::YesNoChamp.options elsif checkbox?