openwisp/openwisp-radius

[bug] FallbackTextField does not handle empty strings

pandafy opened this issue · 1 comments

If the value of the of FallbackTextField is an empty string (''), then the form field does not show the fallback value. We should check the TextField for falsy values, i.e. for both None and empty string ('')

Originally reported in #433 (review)

I would double check this on char fields too.