diff --git a/lib/custom_wizard/custom_field.rb b/lib/custom_wizard/custom_field.rb index d7e1b61b..0b6483c6 100644 --- a/lib/custom_wizard/custom_field.rb +++ b/lib/custom_wizard/custom_field.rb @@ -53,7 +53,7 @@ class ::CustomWizard::CustomField add_error("Unsupported class: #{value}") end - if attr == 'serializers' && (SERIALIZERS & value).empty? + if attr == 'serializers' && value.present? && (SERIALIZERS & value).empty? add_error("Unsupported serializer: #{value}") end