diff --git a/lib/builder.rb b/lib/builder.rb index 21e38da1..e9615cb1 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -216,7 +216,7 @@ class CustomWizard::Builder ## ensure all checkboxes are booleans if field['type'] === 'checkbox' - updater.fields[field['id']] = value == true + updater.fields[field['id']] = value == 'true' end end