formcreator icon indicating copy to clipboard operation
formcreator copied to clipboard

the list disappears, but continues to work.

Open tovich opened this issue 1 year ago • 1 comments

Describe the bug When an empty line is added to the beginning of the radios list, the list disappears, but continues to work.

To Reproduce Steps to reproduce the behavior:

  1. Open any radios element
  2. Add empty line at the beggining of list
  3. Press Save
  4. Again open that radio element and look at list

Expected behavior The list should continue to be visible.

GLPI / Plugins (please complete the following information):

  • GLPI version - 10.0.6
  • formcreator Name: Form Creator Version: 2.13.5 State: Enabled

Desktop (please complete the following information):

  • OS: Windows
  • Browser Firefox
  • Version 111.0.1

tovich avatar Apr 04 '23 09:04 tovich

Hi

Empty lines are ignored and removed when you save the radios question. This is wanted. This avoids a radio button without any label.

If you intent is to allow the requester to select no other item in the list of the question, then setup the question to allow the user to not give any answer. By default the question has no radio button enabled.

btry avatar Jun 12 '23 12:06 btry