mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix submit form
This commit is contained in:
1 parent
254aa9e950
commit
dcbdc9e60c
4 files changed
+14
-12
No files matched your search
@@ -41,7 +41,7 @@ class SubmitFormController < ApplicationController
|
||||
private
|
||||
|
||||
def normalized_values
|
||||
params[:values].to_unsafe_h.transform_values do |v|
|
||||
params.fetch(:values, {}).to_unsafe_h.transform_values do |v|
|
||||
if params[:cast_boolean] == 'true'
|
||||
v == 'true'
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user