Pluto.jl icon indicating copy to clipboard operation
Pluto.jl copied to clipboard

"transformation errored" error in value of `PlutoUI.combine()`

Open yha opened this issue 3 months ago • 1 comments

As seen here:

using PlutoUI
md"""
 $x_opts_md
 $(@bind y CheckBox()) y
"""
begin
	n = Ref(0)		
	x_opts_md = @bind x_opts PlutoUI.combine() do Child
		md"""
		 $(Child("x", CheckBox())) x
		"""
	end
end
let
	n[] += 1
	x_opts, n
end

image n here is not necessary to reproduce the bug, it just shows that multiple updates are triggered, between 1 and 3 on different runs. x_opts seem to contain the error only when n is 2.

(Pluto 0.9.40, PlutoUI 0.7.58, julia 1.9.3)

yha avatar Apr 01 '24 17:04 yha

On Chrome, this also happens with details:

details("parameters", @bind params PlutoUI.combine() do Child
	md"""
	 $(Child("x", CheckBox())) x
	"""
end)

(observed in Chrome on Windows and Mac, but doesn't seem to happen on Firefox, for details)

yha avatar Apr 20 '24 23:04 yha