We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e9b1bf commit 7e3d710Copy full SHA for 7e3d710
app/services/base_services/set_attributes.rb
@@ -76,7 +76,7 @@ def set_custom_values_to_validate(params)
76
return unless custom_field_ids.any?
77
78
# Validate the custom values updated via the params only.
79
- model.custom_values_to_validate = model.custom_values.filter do |cv|
+ model.custom_values_to_validate = model.custom_field_values.filter do |cv|
80
custom_field_ids.include?(cv.custom_field_id)
81
end
82
0 commit comments