svelecte icon indicating copy to clipboard operation
svelecte copied to clipboard

Svelecte component clears initial values after it is initially rendered in the DOM

Open jereyi opened this issue 11 months ago • 5 comments

Hi,

I am encountering an issue with rendering the Svelecte component with an initial value. By adding some print statements, I discovered that the initial values passed to the component seems to be immediately overwritten with null values whenever the component is first rendered. Afterwards, it functions as expected, but it does not seem like this should be the default behavior. Could this be due to a bug with the component?

Thanks!

jereyi avatar Aug 03 '23 13:08 jereyi