From c098a24cb36d3fd23814039496cc87dfdc8ebd7e Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 4 Jul 2018 13:48:03 +1000 Subject: [PATCH] bugfix --- lib/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder.rb b/lib/builder.rb index 8a61fca0..c41b7c21 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -148,7 +148,7 @@ class CustomWizard::Builder params[:value] = standardise_boolean(params[:value]) end - step.add_field(params) + field = step.add_field(params) if field_template['type'] === 'dropdown' build_dropdown_list(field, field_template)