We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa4abb commit 45ca399Copy full SHA for 45ca399
lib/livebook/session.ex
@@ -3329,6 +3329,16 @@ defmodule Livebook.Session do
3329
end)
3330
end
3331
3332
+ defp normalize_runtime_output(%{type: :control} = control) when control.attrs.type == :form do
3333
+ update_in(control.attrs.fields, fn fields ->
3334
+ Enum.map(fields, fn
3335
+ {field, nil} -> {field, nil}
3336
+ # Normalize each form input.
3337
+ {field, input} -> {field, normalize_runtime_output(input)}
3338
+ end)
3339
3340
+ end
3341
+
3342
# Traverse composite outputs
3343
3344
defp normalize_runtime_output(%{type: :grid} = grid) do
0 commit comments