Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yha opened this issue Apr 1, 2024 · 1 comment
Open

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

yha opened this issue Apr 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@yha
Copy link
Contributor

yha commented Apr 1, 2024

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
Copy link
Contributor Author

yha commented Apr 20, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants