demarches-normaliennes/spec/views/shared
Sébastien Carceles 5c7b2ba1f3
feat(dossier): prefill drop down list champ (#8361)
* feat(dossier): prefill drop down list champ

* decorate the types de champ to avoid if / else

In order to avoid doing if this a drop down ? / else at several places,
we decorate the types de champ and let the decorator give the possible
and example values.

* show all possible values when there are too many

* allow to prefill 'other' option

* review: remove duplicate

* review: refactor for readability

* validate that value is in options

* review: exclude disabled options
2023-01-18 09:47:22 +01:00
..
archives correctif(Administrateurs::Archives#index): mauvaise comparaison 2022-11-02 14:07:53 +01:00
champs/multiple_drop_down_list bug(multiple_drop_down_list): when their is a coma in label, comas is splitted as an item 2022-09-30 12:24:00 +02:00
dossiers feat(dossier): prefill drop down list champ (#8361) 2023-01-18 09:47:22 +01:00
_procedure_description.html.haml_spec.rb app: remove procedure-estimated-fill-time feature-flag 2022-06-01 11:11:55 +02:00