GBLS / docassemble-MAEvictionDefense

A guided interview for pro se eviction defense in Massachusetts. Generates an Answer form, Request for Discovery, and accompanying forms and motions.
https://www.gbls.org
Other
15 stars 14 forks source link

Some languages' `summons facts` have an extra field in them in the same interview #165

Closed plocket closed 3 years ago

plocket commented 3 years ago

Tiếng Việt, Português, and 中文 show the summons_eviction_reasons field despite the English version of the same page hiding it. That is, when I tap one of those languages on that page, the field appears and when I tap English again, the field disappears. An example is the "Scenario: User has a "fault" case with NO court date and NO CDC declaration" test.

I've put a scenario that triggers it and the variables of the two languages in this gist: https://gist.github.com/plocket/1d16b714ab376561c4db0bd3521f4a6a

error_UserhasafaultcasewithNOcourtdateandNOCDCdeclaration_中文

plocket commented 3 years ago

Issue with my unfamiliarity with the code - once the first item is set to True, the next field disappears. Because the default is True, languages that have the default also have that field hidden while languages that don't have the default appear to have an extra field at first.