Angus McLeod %!s(int64=6) %!d(string=hai) anos
pai
achega
c098a24cb3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/builder.rb

+ 1 - 1
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)