InseeFr / Lunatic-DSFR

Couche graphique pour Lunatic reposant sur le Système de Design de l'État (DSFR)

Home Page:https://inseefr.github.io/Lunatic-DSFR/storybook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support textarea

romaintailhurat opened this issue · comments

For text answer longer than 249 characters we want to display a textarea instead of a simple input (see https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/champ-de-saisie).

Today in Lunatic we display Textarea when we have in the json componentType: Textarea.

Do you want to display textArea in this case or when componentType is Input and maxLength loger then 249 ?
If the second it's a Lunatic Issue. By the way I add TextArea component in Lunatic-DSFR.

Today in Lunatic we display Textarea when we have in the json componentType: Textarea.

Do you want to display textArea in this case or when componentType is Input and maxLength loger then 249 ? If the second it's a Lunatic Issue. By the way I add TextArea component in Lunatic-DSFR.

Maybe i don't get the idea here: from the designer point of view, she only specifies the length of the Pogues Text response. And in the case of this length being specify as greater than 249 we want to change the questionnaires visual.