Allow single- or multi-valued selections with the RelatedUserWidget

Review Request #8986 — Created June 2, 2017 and submitted

brennie
Review Board
release-3.0.x
8985
8987
reviewboard

The RelatedUserWidget now supports selecting either a single value
(new behaviour) or multiple values (old behaviour & the default) through
a new parameter. When in single-valued mode, the widget will be rendered
without the list of item selections and will use selectize.js's renderd
<select> as the only selected item. When in multi-valued mode, the
widget will be rendered as before.

  • Used this with an upcoming patch for the OAuth form.
  • Tested the user selector on the repository admin form and ensured
    that multi-valued selections still work.
brennie
david
  1. Can you add info on testing you've done to make sure existing uses don't regress?

  2. 
      
brennie
brennie
brennie
brennie
brennie
david
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (b21edb8)
Loading...