Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      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
    28698
    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
    Referenced by request #27171

    Follow-ups