•  
      request #30388 Target field dependency is no longer auto-selected
    Infos
    #30388
    Joris MASSON (jmasson)
    2023-01-31 18:17
    2023-01-23 10:37
    31993
    Details
    Target field dependency is no longer auto-selected

    Given a tracker with field dependencies defined between selectbox / multi-selectbox fields, and given list-picker is not disabled with a feature flag for this tracker, when I create or edit an artifact of that tracker and I select a "source" value, then the "target" value will no longer be automatically selected. I must click to open the target field and click again to choose a value.

    When there is only one possible value (as configured in field dependencies), then it should be selected when I select the corresponding "source" value. This saves me two clicks.

    This was introduced by git #tuleap/stable/a4aa0b4475ef5ddb6cd95d689c3252db4cedf94b. list-picker used to select the first available value by itself, but this behaviour is desired only in tracker field dependencies context. It causes problems everywhere else. Thus, it was removed. We should instead edit the "field dependencies" javascript code itself so that it auto-selects target values.

    Trackers
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2023-01-31
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2023-01-31 18:17

    Closing, duplicate of request #30389 (it was updated more recently)


    • Status changed from Under implementation to Closed
    • Close date set to 2023-01-31