Tuleap 16 est là ! Assistez à l'événement virtuel le 17 octobre à 10h30. Inscrivez-vous ici !

    •  
      request #27171 Clear default values when form element is changed from a multiple list to a simple list
    Infos
    #27171
    Thomas Gorka (tgorka)
    2022-06-15 16:19
    2022-06-10 14:41
    28693
    Details
    Clear default values when form element is changed from a multiple list to a simple list

    Current behavior:

    - I have a form element being a multiple list (checkbox/multiple selectbox)

    - I select several default values

    - I change its type to a simple list (radio button/selectbox)

    --> The default values are kept, I can't submit my artifacts in modal when I don't edit my field { code: 400, message: "Bad Request: Selectbox fields can only have one value" }

     

    Proposition:

    - First of all, it should not be possible to select more than one value when the field is a simple list. Let's display a simple selectbox to select the default value

    - Secondly, we should clear the default values when the type change from "multiple" to "simple".

     

    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gorka (tgorka)
    Closed
    2022-06-15
    Attachments
    Empty
    References

    Follow-ups