app/components/lookbook/params_editor/field/component.rb in lookbook-1.0.0.beta.6 vs app/components/lookbook/params_editor/field/component.rb in lookbook-1.0.0.beta.7

- old
+ new

@@ -29,10 +29,11 @@ end protected def alpine_data - "{name: '#{@name}', value: #{value.to_json}}" + escaped_value = value.is_a?(String) ? helpers.j(value) : value + "{name: '#{@name}', value: '#{escaped_value}'}" end def alpine_component "paramsEditorFieldComponent" end