Ensure initial value of list edit widget is a string

Review Request #9018 — Created June 15, 2017 and submitted

Information

Djblets
release-0.10.x

Reviewers

The list edit widget, when rendering an empty value (None), would set
the hidden input element to the string None. Now we ensure that we
coerce to an empty string when we have a falsy value, which avoids that
situation.

Ran into this issue (list edit submitting "None" when there were no
values) while editing OAuth applications in RB. With this patch applied,
the issue no longer occurred.

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

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (99c14b4)
Loading...