Ensure initial value of list edit widget is a string
Review Request #9018 — Created June 15, 2017 and submitted — Latest diff uploaded
The list edit widget, when rendering an empty value (
None
), would set
the hidden input element to the stringNone
. 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.