Replies: 1 comment 3 replies
-
@babakfp I'm unable to reproduce this. Could you attach a reproduction |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
This is my code:
radioGroup.getItemHiddenInputProps(itemProps)
returns the style attribute value as a string. When wrapping them withmergeProps
, they turn into an object.NOTE: ignore the word
init
. It has something to do with Svelte reactivity.Is this a bug? Because Svelte doesn't expect an object inside the
style
attribute and this code converts a style object into a string as expected, to make it work with Svelte.Maybe the Svelte version of
mergeProps
needs to turn the value ofstyle
attribute back to a string at the end?Beta Was this translation helpful? Give feedback.
All reactions