Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component Question creates an Empty paragraph when there is not description #1170

Open
2 tasks
adrienmontbroussous opened this issue Nov 7, 2024 · 0 comments
Open
2 tasks
Assignees
Labels
Type: Bug Something isn't working

Comments

@adrienmontbroussous
Copy link

adrienmontbroussous commented Nov 7, 2024

Describe the bug

The html element

<p id="question-description-idQuestion">

is created with an empty content when no description is passed as parameters of the lunatic Component

To Reproduce

Steps to reproduce the behavior:

Create a lunatic component Question without any description.

Expected behavior

I don't want to have a paragraph element for the question description (witch adds a new line) if no description is passed as parameter.

Screenshots

screenshot_issue_lunatic

Version where the bug appeared

"@inseefr/lunatic": "^3.4.7-rc.1"

Browser where the bug was tested

  • Firefox
  • Edge

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants