SuffolkLITLab / docassemble-ALKilnSetup

A docassemble extension for testing the AssemblyLine automated integrated testing framework.
MIT License
1 stars 2 forks source link

Add 2 items: setting a dictionary key that has double quotes and one with single quotes as the var name on the page #125

Closed plocket closed 3 years ago

plocket commented 3 years ago

Better names, but like this:

fields:
  - Foo color: foo["color"]
    datatype: checkboxes
    choices:
      - red: red
      - green: green
      - blue: blue
  - Bar color: bar['color']
    datatype: checkboxes
    choices:
      - red: red
      - green: green
      - blue: blue

[foo comes out with the DOM value of "foo[\"color\"]..." while bar comes out as "bar['color']..." ]