• 
      

    Ensure initial value of list edit widget is a string

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

    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.