demarches-normaliennes/app/views/prefill_descriptions
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
..
_prefill_link.html.haml feat(demarche): describe procedure prefilling (#8187) 2022-12-19 11:32:09 +00:00
_prefill_query.html.haml feat(demarche): describe dossier prefilling with POST (#8298) 2023-01-04 07:31:31 +00:00
_types_de_champs.html.haml feat(dossier): prefill drop down list champ (#8361) 2023-01-18 09:47:22 +01:00
edit.html.haml feat(demarche): describe dossier prefilling with POST (#8298) 2023-01-04 07:31:31 +00:00
update.turbo_stream.haml feat(demarche): describe dossier prefilling with POST (#8298) 2023-01-04 07:31:31 +00:00