Commit d0ff1f13 authored by John Kirkwood's avatar John Kirkwood

Fix error in checkbox render.

parent c19c2688
......@@ -84,8 +84,8 @@ class MdcCheckboxInput(ChpWidgetMixin, CheckboxInput):
def chp_render(self, context):
ast_checkbox = Checkbox(
context['widget']['attrs']['checked'],
context['widget']['attrs']['id'],
context['widget']['attrs'].get('checked', False),
context['widget']['attrs'].get('id', None),
context
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment