diff --git a/lib/builder.rb b/lib/builder.rb index 9c3a2bd1..44a5888c 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -258,7 +258,7 @@ class CustomWizard::Builder value = field['value_custom'] ? field['value_custom'] : data[field['value']] key = field['key'] - if key && value != nil + if key && (value.present? || value === false) if key.include?('custom_fields') keyArr = key.split('.')