SuffolkLITLab / docassemble-AssemblyLine

Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. Swap out branding and pre-built questions to meet your needs.
https://suffolklitlab.org/docassemble-AssemblyLine-documentation/
MIT License
41 stars 5 forks source link

Let the pronouns functions work even if the pronouns attribute is a string, #845

Closed nonprofittechy closed 5 months ago

nonprofittechy commented 5 months ago

Right now we expect the pronouns to be a dictionary like this:

{"he/him/his": True,
 "she/her/hers": False}

but if the developer made this radio buttons instead so it's a string like they/them/theirs, we should still be able to parse that.