openhealthcare / whopaysthisdoctor.org

whopaysthisdoctor.org website
2 stars 6 forks source link

Remove default vale from Benefit.band widget #25

Closed samsmith closed 5 years ago

samsmith commented 5 years ago

the financial bands offered in the declaration dropdowns should not include a "--------" item in the list (which people think is a valid entry, but which fails validation and they get confused by the messages). (any fieldset triples which have a financial value but no other field entry should be ignored)

davidmiller commented 5 years ago

The relevant Django forms incantation is something like empty_label=None I think...

davidmiller commented 5 years ago

I think this goes away with the new declaration format - there's no band field.